- Remove virtual machine from inventory
- Download the vmx file from datastore to local drive
- Delete vmx file from datastore
- Edit the vmx file with configuration settings :
remove lines begins with (N is the number of the network adapter)
ethernetN.generatedAddress ethernetN.addressType ethernetN.generatedAddressOffset
add
ethernetN.address = "00:50:56:XX:YY:ZZ" ethernetN.addressType="static"
- Upload the new vmx file to datastore - Register the vmx file with ESX server