I'm running CentOS 5.8 (it's the Citrix XVA appliance provided on the website) but having an issue where every time I restart the server, the /etc/hosts file loses the IP address of the server...for instance, the way the host file should looks is like so:
127.0.0.1 localhost.localdomain localhost
10.0.0.50 localhost.localdomain citrix-ls
But instead, after a reboot, it looks like this:
127.0.0.1 localhost.localdomain localhost
localhost.localdomain citrix-ls
Anyone have any idea why this would be happening? I'm thinking of just writing a script to replace the /etc/hosts file at each boot.
Any assistance would be appreciated--thanks!
-slashp
/etc/sysconfig/network... There could be a few reasons. – ewwhite Sep 05 '12 at 16:38/etc/hostsfile as I specified in the original answer. That was meant to be the fix. – ewwhite Sep 05 '12 at 17:08