In our case, I have vCenter in dark site (no gateway for internet), I want to change gateway to connect on internet
(we are using vCenter version 7.0.1)
How can we do this ?
We have to connect to vCenter on ssh or console :
So we have to enter command sudo su or su root to connect with sudo user “root”
now as we are logged with root, we have to enter this command /opt/vmware/share/vami/vami_config_net
we have to select 2 to change gateway, 3 for hostname, 4 for DNS ..
Now it’s changed, and we can connect on internet 🙂
Thanks !