Customizing a VM using cloud-init in VMware Cloud Director
By using cloud-init, you can customize a new VM using code, during the creation of the VM.
Brief overview of guest OS customization in VMware Cloud Director
How to customize a VM using cloud-init
Step 1 – Generating a VMware Cloud Director API token

Step 2 – Creating a cloud-init metadata file
Step 3 – Creating a cloud-init userdata file
Step 4 – Creating a VM from a template

Step 5 – Supplying a cloud-init configuration to a VM
Step 6 – Powering on the VM

Additional information regarding Windows virtual machines
Windows userdata file
Further reading
PreviousVirtual Machine creation and management with Cloud DirectorNextUsing Terraform to automate infrastructure in VMware Cloud Director
Last updated
Was this helpful?