[PVE-User] Verison 4.x problem with changing IP in /etc/hosts

Lari Tanase larieu at gmail.com
Fri Feb 24 20:27:51 CET 2017


Hi,

I found a problem with changing IP

steps to reproduce

last PVE 4.4 fresh install
at install set one IP ( EX 10.10.0.10/20 )

apt-get update &&....


reboot

in GUI change IP  ( EX 10.10.1.200/20 ) - the GUI ask to reboot for 
changes to be active

after reboot everything seems to work OK
but if you want to start a cluster you'll receive an error
- after some debug I found that the trouble is that in the

/etc/hosts

your name is mapped on the old IP

10.10.0.10     serv_name.domain.tld serv_name pvelocalhost

correct is

10.10.2.200     serv_name.domain.tld serv_name pvelocalhost

I was able to reproduce this 3 times

problem
GUI don't change IP in /etc/hosts

Lari Tanase








More information about the pve-user mailing list