You can apply machine initialization in vRealize Automation Cloud Assembly by running commands directly or, if deploying to vSphere based cloud zones, through customization specifications.
- Commands—a cloudConfig section in your cloud template code holds the commands that you want to run.
- Customization specifications—a property in your cloud template code references a vSphere customization specification by name.
Commands and customization specifications might not mix
When deploying to vSphere, proceed carefully if you attempt to combine cloudConfig and customization specification initialization. They aren't formally compatible and might produce inconsistent or unwanted results when used together.
For an example of how commands and customization specifications interact, see vSphere static IP address assignment in vRealize Automation Cloud Assembly cloud templates.