vsphere-automation-sdk-python
vsphere-automation-sdk-python copied to clipboard
How to assign static ip to power off vm?
How can I use the sdk to assign static ip to vm.Thanks
@Sad-polar-bear from sdk level i don't see any option, but you can try to set static ip by writing script / batch file in Run VMware Tools scripts https://pubs.vmware.com/server1/vm/wwhelp/wwhimpl/common/html/wwhelp.htm?context=vm&file=tools_scripts_gsx.html
of course for ova deployment you have option of filling static / dhcp details but i haven't tried from sdk level.
@Sad-polar-bear Were you able to achieve this task?