To create a Windows disk image for Nutanix Calm you must first create a Master/Gold Image. Start with a clean Windows install, Nutanix VirtIO drivers, and NGT installed. Next run Sysprep with the OOBE, Generalize, and Shutdown options.
Once the VM is shutdown SSH into a CVM to get the vmdisk path and uuid.
Enter acli command line
1 |
acli |
List vm’s in AHV and take note of the vm you want to use for the template
1 |
vm.list |
Run vm.get command to show the vm disks
1 |
vm.get "<name_of_vm>" include_vmdisk_paths=true |
Copy vmdisk_nfs path output
1 |
vmdisk_nfs_path:"/<storage container>/.acropolis/vmdisk/<uuid>" |
Log into Prism Central and add the image using the URL option with the path of the vdisk
1 |
nfs://<CVM IP>/<storage container>/.acropolis/vmdisk/<uuid> |
Now you can use the Guest Customization Sysprep function in Nutanix Calm to deploy your Windows VMs.