Add the existing ce-2019.02.11.vmdk file as SCSI0:0, Change the SCSI controller to type VMware Paravirtual SCSI Adapter (PVSCSI). Now we have the VMDK disk data (-flat.vmdk) file, however, we are missing the disk descriptor file (.vmdk file). Modify network adapter to VMXNET3 and connect it to the appropriate port group. Upload the ce-2019.02.11-flat.vmdk file to the newly created folder. *-flat.vmdk” -exec dirname {} \; | sed “s|^\.||”)/temp vmdkfolder=$(echo $vmdktempfolder | sed ‘s/.\{4\}$//’) vmname=$(basename $vmdkfolder) vmdkdisk1=$(echo $vmname\_1.vmdk) vmdkdisk2=$(echo $vmname\_2.vmdk), echo % Renaming Nutanix CE image mv $vmdkpath ${vmdkfolder}${vmname}-flat.vmdk, echo % Creating temporary working folder mkdir $vmdktempfolder, echo % Creating new disk descriptor file and temporary -flat.vmdk file vmkfstools -c $vmdksize -d thin $vmdktempfolder/$vmname.vmdk, echo % Deleting temporary -flat.vmdk file rm $vmdktempfolder/${vmname}-flat.vmdk, echo % Moving new disk descriptor file to same folder as the uploaded nutanix ce image mv $vmdktempfolder/$vmname.vmdk $vmdkfolder, echo % Removing temporary working folder rmdir $vmdktempfolder, echo % Creating 200 GB virtual SSD hot tier VMDK – thin provisioned vmkfstools -c 214748364800 -d thin $vmdkfolder$vmname\_1.vmdk, echo % Creating 500 GB HDD cold tier VMDK – thin provisioned vmkfstools -c 536870912000 -d thin $vmdkfolder$vmname\_2.vmdk, echo % Creating VMX file with customized settings vmxnvram=$(echo $vmname.nvram) cat <> $vmdkfolder/$vmname.vmx .encoding = “UTF-8” config.version = “8” virtualHW.version = “13” nvram = “$vmxnvram” pciBridge0.present = “TRUE” svga.present = “TRUE” pciBridge4.present = “TRUE” pciBridge4.virtualDev = “pcieRootPort” pciBridge4.functions = “8” pciBridge5.present = “TRUE” pciBridge5.virtualDev = “pcieRootPort” pciBridge5.functions = “8” pciBridge6.present = “TRUE” pciBridge6.virtualDev = “pcieRootPort” pciBridge6.functions = “8” pciBridge7.present = “TRUE” pciBridge7.virtualDev = “pcieRootPort” pciBridge7.functions = “8” vmci0.present = “TRUE” hpet0.present = “TRUE” floppy0.present = “FALSE” numvcpus = “4” memSize = “16384” bios.bootRetry.delay = “10” powerType.powerOff = “default” powerType.suspend = “soft” powerType.reset = “default” tools.upgrade.policy = “manual” sched.cpu.units = “mhz” sched.cpu.affinity = “all” sched.cpu.latencySensitivity = “normal” vm.createDate = “1552034628071900” scsi0.virtualDev = “pvscsi” scsi0.present = “TRUE” sata0.present = “TRUE” svga.autodetect = “TRUE” scsi0:0.deviceType = “scsi-hardDisk” scsi0:0.fileName = “$vmname.vmdk” sched.scsi0:0.shares = “normal” sched.scsi0:0.throughputCap = “off” scsi0:0.present = “TRUE” scsi0:1.deviceType = “scsi-hardDisk” scsi0:1.fileName = “$vmdkdisk1” scsi0:1.virtualSSD = 1 sched.scsi0:1.shares = “normal” sched.scsi0:1.throughputCap = “off” scsi0:1.present = “TRUE” scsi0:2.deviceType = “scsi-hardDisk” scsi0:2.fileName = “$vmdkdisk2” sched.scsi0:2.shares = “normal” sched.scsi0:2.throughputCap = “off” scsi0:2.present = “TRUE” ethernet0.virtualDev = “vmxnet3” ethernet0.networkName = “VM Network” ethernet0.addressType = “generated” ethernet0.wakeOnPcktRcv = “FALSE” ethernet0.present = “TRUE” sata0:0.deviceType = “atapi-cdrom” sata0:0.fileName = “/vmfs/devices/cdrom/mpx.vmhba64:C0:T0:L0” sata0:0.present = “TRUE” displayName = “$vmname” guestOS = “other-64” vhv.enable = “TRUE” bios.bootDelay = “5000” toolScripts.afterPowerOn = “TRUE” toolScripts.afterResume = “TRUE” toolScripts.beforeSuspend = “TRUE” toolScripts.beforePowerOff = “TRUE” tools.syncTime = “FALSE” uuid.bios = “56 4d fe 2a 63 f7 10 22-a1 84 e7 d8 2f 20 6e 23” uuid.location = “56 4d fe 2a 63 f7 10 22-a1 84 e7 d8 2f 20 6e 23” uuid.action = “create” vc.uuid = “52 c0 0c 4c 3b a9 bb 9d-05 aa 9b ba 72 31 f0 80” sched.cpu.min = “0” sched.cpu.shares = “normal” sched.mem.min = “0” sched.mem.minSize = “0” sched.mem.shares = “normal” EOT, vim-cmd solo/registervm $vmdkfolder/$vmname.vmx, Thanks to Jorge de la Cruz for the awesome guide in Spanish, make sure you check out his blog post for additional screenshots, Filed Under: Nutanix Tagged With: ce, community, edition, nutanix. When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. VMCE practice exam – Veeam Certified Engineer, Unpack the ce-2019.02.11-stable.img.gz file (the expected result is the file ce-2019.02.11-stable.img), Rename the ce-2019.02.11-stable.img file to ce-2019.02.11-flat.vmdk, Create a virtual machine configuration (VMX) file with correct settings. Rename it from ce-2019.02.11-flat.vmdk to -flat.vmdk, Creating the missing disk descriptor file and a temporary -flat.vmdk file, Move the new disk descriptor file to the virtual machine folder, Create a thin-provisioned 200 GB VMDK to be used for the Nutanix hot tier (this virtual disk will be marked as a virtual SSD), Create a thin-provisioned 500 GB VMDK to be used for the Nutanix cold tier, Create a virtual machine configuration (VMX) file with the correct settings, Register the new virtual machine with your ESXi host, Select the second option in the boot menu (rescue), Change directory to /var/cache/libvirt/qemu/capabilities/, Edit the only XML file inside the /var/cache/libvirt/qemu/capabilities/ folder using for example command “vi”.