Why did no one ever answer this ??
Where do you find these extra parameters .. googling does not show much at all :-(
Is there a way to update the vmx file using a python script from within the guest ?
Another challenge is how to find the datastore path that the vm resides in.. from within the gues ? which command does one use ? I would like to use a python script .. not pysphere or similar.. just raw python.
Could someone please assist ?
In your build profile you can add it to the config section. You can specify both standard and extra config options
VMW Config elements in this element will be passed directly
to the OVF output descriptor without interpretation
<vmw:Config vmw:key="cpuHotAddEnabled" vmw:value="TRUE"/>
<vmw:ExtraConfig vmw:key="svga.maxWidth" vmw:value="640"/>
<vmw:ExtraConfig vmw:key="svga.maxHeight" vmw:value="480"/>
If you are talking about your own custom properties you would use the PropertySection
<Property ovf:key="Password" ovf:type="string" ovf:userConfigurable="true" ovf:value="" ovf:qualifiers="MinLen(6),MaxLen(32)" ovf:password="true">
For getting the datastore I'm not sure if it is exposed or what property it would be for that matter but guestinfo is usually obtained through rpctool
i.e. /usr/sbin/vmware-rpctool 'info-get guestinfo.ovfEnv'