OpenVZ Forum


Home » General » Support » On boot adjustment for /etc/hosts
On boot adjustment for /etc/hosts [message #28460] Wed, 19 March 2008 10:55 Go to previous message
Ideaxis is currently offline  Ideaxis
Messages: 2
Registered: March 2008
Junior Member
We need to adjust the /etc/hosts file during reboot. OpenVZ has default settings, for example:

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
192.168.0.247 test2

What we want is that this is automatically set to, for example:

127.0.0.1 localhost test2.domain.com test2 localhost.localdomain
# Auto-generated hostname. Please do not remove this comment.
192.168.0.247 test2


Can someone tell me how can do this?

Kind regards,
Jurgen
 
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 08:20:21 GMT 2024

Total time taken to generate the page: 0.02485 seconds