My vCenter is 6.0 U3, fully patched and I use web client for day to day management.
What I want is the customization to prompt me for IP address, subnetmask and default gateway. What is happening is it is prompting me for IP address and subnet but not the default gateway. When I create a VM from the the template and apply the customization the VM doesn't ask for a default gateway. I created a new customization from scratch and getting same behavior. The new VM is picking up the default gateway that is set on the VM template. This is a bit of a problem if I want to have the VM moved to a different VLAN.
PowerCLI C:\> Get-OSCustomizationNicMapping –OSCustomizationSpec Test
Position IPMode IPAddress DefaultGateway
-------- ------ --------- --------------
1 PromptUser
Is there some setting I am missing to force the customization to prompt for default gateway in addition to IP and subnet mask? I really don't want to have customization for each VLAN by hard coding the values.
Michael
No, you're not missing anything. The gateway is set in the customization spec and doesn't not prompt the user. If this is what you want, you should create a customization spec for every network into which you wish to deploy that system.
No, you're not missing anything. The gateway is set in the customization spec and doesn't not prompt the user. If this is what you want, you should create a customization spec for every network into which you wish to deploy that system.
Didn't want to start a new thread for this same question.
Is this true for 6.5u2 or the full HTML client in 6,7?
Yes
Can vcenter orchestrator give you the ability to set up gateways at VM instantiation since the customization specs don't?
The gateway can be set in the customization spec though.