How to resolve a Fresh Vcenter appliance reporting "Unable to save IP settings"
Solution 1:
This issue is a DNS problem.
While VMware currently reports Workaround: None
- you can solve it by updating /etc/hosts
Solution:
- ssh as
root
into the vcenter appliance. - elevate with the
shell
command. - edit the hosts file:
vi /etc/hosts
- Add the following line, leaving any existing entries. (Where vcenter.mydomain.local matches the
FQDN
you assigned during setup)127.0.0.1 vcenter.mydomain.local vcenter localhost
- To save and exit
vi
type:wq!
and hit return.
The final file should look something like this:
# End /etc/hosts (network card version)
# VAMI_EDIT_BEGIN
# Generated by Studio VAMI service. Do not modify manually.
127.0.0.1 vcenter.mydomain.local vcenter localhost
::1 vcenter.mydomain.local vcenter localhost ipv6-localhost ipv6-loopback
# VAMI_EDIT_END
You must also update /etc/systemd/network/10-eth0.network
to include
DHCP=yes
(You can set it back to no
after advancing the wizard - no restarts required)