You can apply machine initialization in Cloud Assembly by running commands directly or, if deploying to vSphere-based cloud zones, through customization specifications.

How commands and customization specifications work

  • 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 addresses in Cloud Assembly.

Marker