pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
Create new VM from scratch
I want to create a new VM(without using any templates). I want to attach virtual disk to it of specific size, 3 NIC adapters, 2 CD-ROM(to attach iso kept in datastore), RAM and CPU of specific size.
I did find sample to create VM(basic configuration) and attach virtual disks to it. Can someone please share sample to create the entire VM with the mentioned specifications at one go.