Since your VM is windows base, you need to write script to retrieve the the ovf property values. i.e. you can retreive the values using vmtoolsd.exe --cmd “info-get guestinfo.ovfEnv” command.
After getting values you can set those values through command line using netsh command.
Keep all your batch (.bat) scripts in Windows startup area. So that in first boot it will get executed. But make sure to delete this scripts after everythig gets done.
Startup area = C:\Documents and Settings\All Users\Start Menu\Programs\Startup [Path may change depending upon Operating System]
I am also facing the same issue.
But my OS is Debian(Ubuntu) and I am using VSphere 4.1, vServer4.1 and ESX4.1.
Even If I provide network proeperties(/IP/gateway/mask/dns), the values are not getting propogated to my linux vm from the values which I enter
during network wizard.
Is there a need to get these values from ovf and manually configure IPs using scripts in first boot(even for linux vm) ?
Please provide me inputs on this.