Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

How can I set a static IP address of a Recomposed VM either before or after it is created?

$
0
0

I'm using the vCloud SDK and I can create new VM's within a vApp using RecomposeVapp().  All VM's are set to Pool Addressing mode.  The problem is that the newly created VM has the same IP as the VM that was copied.  Is there some way to reconfigure, reset or otherwise give the new VM a unique IP?  I tried changing the IP manually in a NetworkConnectionType variable and then calling childVm.UpdateSection(networkConnectionSection).WaitForTask(0); but this did not change the IP to the one I specified in the networkConnectionSection.  Has anyone solved for this already?

 

Thanks!


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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