[Users] /etc/hosts
Kirill Korotaev
dev at sw.ru
Mon Dec 11 08:44:20 EST 2006
Farkas Levente wrote:
> hi,
> why put openvz into each VE's /etc/hosts the hostname itself too? ie:
> 127.0.0.1 host.example.com host localhost localhost.localdomain
> and why do this on all reboot, why not accept
> 127.0.0.1 localhost localhost.localdomain
> it has some reasons?
> thanks.
> yours.
>
If HOSTNAME set in VE config it is updated on every VE start.
hostname is bound to 127.0.0.1 for simplicity of updates on ip change i.e
it doesn't depend on ip in such a scheme.
Kirill
More information about the Users
mailing list