pavan_bg
Contributor
Contributor

Customizing VM Guest

Hi,

I am new to VMWare SDK. I was wondering is there a way to customize (assigning our own values) VM Guest parameters like MAC Address, Serial Number etc while creating the Guest through VI SDK. Any information on this will be very helpful.

Thanks,

Pavan

0 Kudos
2 Replies
jrackliffe
Hot Shot
Hot Shot

Hey Pavan,

I don't know if you can change the Serial number as it is based off the UUID in the BIOS, but I believe you should be able to set the MAC w/o any issue.

When constructing your VirtualEthernetCard (VirtualPCNet32 or VirtualE1000) you can set the addressType to "manual" which should allow you to enter a MACAddress (00:00:00:00:00:00). Because you are manual instead of assigned the Host should not complain about the address.

Name, description and other attributes are part of the VirtualMAchineConfigSpec so those should be straight forward.

J

pavan_bg
Contributor
Contributor

Thanks J. That helps a lot.

0 Kudos