OpenVZ Forum


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

try this workaround.

1. Please take the latest version of vzctl.
2. Start your VPS.
3. Change /etc/hosts with your need.
4. Stop the VPS and then just comment or remove the string "HOSTNAME="test2"" from /etc/vz/conf/VEID.conf file.

After these manipulations /etc/hosts file inside VPS shouldn't be changed.
 
Read Message
Read Message
Read Message
Previous Topic: Having trouble mounting in a VE
Next Topic: Quota file is gone!
Goto Forum:
  


Current Time: Sat Nov 16 11:13:30 GMT 2024

Total time taken to generate the page: 0.03086 seconds