vsphere-automation-sdk-python icon indicating copy to clipboard operation
vsphere-automation-sdk-python copied to clipboard

How to assign static ip to power off vm?

Open Sad-polar-bear opened this issue 5 years ago • 2 comments

How can I use the sdk to assign static ip to vm.Thanks

Sad-polar-bear avatar Mar 22 '19 14:03 Sad-polar-bear

@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.

mukheema avatar Apr 07 '20 14:04 mukheema

@Sad-polar-bear Were you able to achieve this task?

anusha94 avatar Mar 16 '21 06:03 anusha94