I have found that sometimes it is better if you get VirtualMachineConfigSpec from existing machine and update it as opposed to creating a new VirtualMachineConfigSpec with just the changes you ne...
See more...
I have found that sometimes it is better if you get VirtualMachineConfigSpec from existing machine and update it as opposed to creating a new VirtualMachineConfigSpec with just the changes you need set. I.e. get configspec from your first VM, update the MAC, then use this to reconfigure the new VM; or maybe just get VirtualDeviceConfigSpec part from current VM, update the MAC bit, set this in the new VirtualMachineConfigSpec and reconfigure the new VM. There is usually one bit you have forgotten to set that is required which means the change you are trying to make just wont apply