Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230200

Programmatically assigning IP information to VMs using vSphere APIs??

$
0
0

I see that this can be done with a customization spec. However, this means adding a good deal of other information about the system using Sysprep. I do not want to change the VMs added by other people I just need to be able to properly set them up for networking. For various reasons DHCP is not what we want.

 

Our use case is a template VM uploaded and then instantiated possibly numerous times. Each instance would obviously needs its own IP. Is there a way to do this without calling CustomizeVM or passing a customization spec to CloneVM? Or is there some way to only pass in the network information to the customization? I have tried leaving items blank or not specifying them but this just leads to errors.

 

I looked a little at the VIX but if I read it correctly my scripts would need to know login information for the VM instances. That won't work for us either.

 

Ideas?


Viewing all articles
Browse latest Browse all 230200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>