VMware Cloud Community
mtrohde
Enthusiast
Enthusiast
Jump to solution

Guest Customization Network Settings

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

Reply
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

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.

View solution in original post

Reply
0 Kudos
5 Replies
daphnissov
Immortal
Immortal
Jump to solution

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.

Reply
0 Kudos
Gr33nEye
Enthusiast
Enthusiast
Jump to solution

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?

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

Reply
0 Kudos
George_at_Deman
Contributor
Contributor
Jump to solution

Can vcenter orchestrator give you the ability to set up gateways at VM instantiation since the customization specs don't?

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

The gateway can be set in the customization spec though.

Reply
0 Kudos