VMware Cloud Community
willemdh
Contributor
Contributor

How to configure the gateway on a CentOS server with a customization specification?

So I created a customization specification in VMware 6.0.0 and configured it so that it prompts the user whan a vm is deployed from my CentOS 7 template.

enter image description here

The ip address, subnet mask and hostname are prompted, but not the gateway resulting in a server with no network connectivity. Ok I could configure /etc/sysconfig/network with a fixed gateway, but this would mean this template only works for one ip range. How should I solve this issue? I don't see any way to prompt for the gateway when a vm is deployed from the template.

0 Kudos
0 Replies