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.
Prerequisites
-
You must have an VMDK image created by Image Builder. Use the
vmdk
output type in CLI or VMware Virtual Machine Disk (.vmdk) in GUI when creating the image.
Procedure
Upload the image into vSphere via HTTP. Click on
Upload Files
in the vCenter:When you create a VM, on the
Device Configuration
, delete the defaultNew Hard Disk
and use the drop-down to select anExisting Hard Disk
disk image:Make sure you use an
IDE
device as theVirtual Device Node
for the disk you create. The default valueSCSI
results in an unbootable virtual machine.