OpenVZ Forum


Home » Mailing lists » Users » /etc/hosts
Re: /etc/hosts [message #8926 is a reply to message #8925] Mon, 11 December 2006 13:34 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: sysctl parameter question
Next Topic: Vzsplit question
Goto Forum:
  


Current Time: Fri Oct 17 01:24:26 GMT 2025

Total time taken to generate the page: 0.29407 seconds