Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180329

How to use Custom Form to add or Not add a second nic to VM Blueprint

$
0
0

I am using Custom Form logic to determine the Network Path for Network0 in a Blueprint request.  Works great.

 

In the form I also have a boolean value asking whether a Backup network interface is required.  If "Yes", the Custom Form logic populates VirtualMachine.Network1.Name with the appropriate Network Path, and this too works fine. Problem is that I don't have a way to not assign a Network1 if the boolean value is "No".  With "No", the request will fail with "No reservation available that has all specified networks: network-PG and ."  (second specified network is <blank>)

 

The error makes sense, but is there a way to use Custom Form logic to add or not add a Network1 interface in the initial VM request stage, or would that decision have to be made during a later lifecycle stage after the VM has been provisioned (with only Network0) from blueprint?


Viewing all articles
Browse latest Browse all 180329

Trending Articles



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