5.6. Uploading VMDK images to vSphere
Image Builder can generate images suitable for uploading to a VMware ESXi or vSphere system. This describes steps to upload an VMDK image to VMware vSphere.
Because VMWare deployments typically does not have cloud-init configured to inject user credentials to virtual machines, we must perform that task ourselves on the blueprint.
You must have an VMDK image created by Image Builder. Use the
vmdkoutput type in CLI or VMware Virtual Machine Disk (.vmdk) in GUI when creating the image.
Upload the image into vSphere via HTTP. Click on
Upload Filesin the vCenter:
When you create a VM, on the
Device Configuration, delete the default
New Hard Diskand use the drop-down to select an
Existing Hard Diskdisk image:
Make sure you use an
IDEdevice as the
Virtual Device Nodefor the disk you create. The default value
SCSIresults in an unbootable virtual machine.