OpenVZ Forum


Home » General » Support » On boot adjustment for /etc/hosts
Re: On boot adjustment for /etc/hosts [message #28561 is a reply to message #28460] Mon, 24 March 2008 11:11 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

I'm afraid it is impossible to do without changing VPS initialization scripts.
We should distinguish between 127.0.0.1 and other IP address.
If you add appropriate record before "# Auto-generated hostname. Please do not remove this comment." string you don't loose it after reboot but that it's not true if you want to save something like that "127.0.0.1 ...".
Briefly speaking, there are some problems with 127.0.0.1 and /etc/hosts file, for example
http://bugzilla.openvz.org/show_bug.cgi?id=776

So, you can fill the bug but please look for similar problem before filling it. I've done that but haven't found the same one.
http://bugzilla.openvz.org/

Thank you very much for the assistance!
 
Read Message
Read Message
Read Message
Previous Topic: Having trouble mounting in a VE
Next Topic: Quota file is gone!
Goto Forum:
  


Current Time: Sun Aug 04 10:13:39 GMT 2024

Total time taken to generate the page: 0.02608 seconds