Every time I boot, CentOS 6.0 Server hostname disappears. I have to re-issue hostname command to reset it.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
you need to set your host name properly in /etc/sysconfig/network
NETWORKING=yes HOSTNAME=localhost DOMAIN=localdomain GATEWAY=yourgatewayaddress
Add a line
/etc/sysconfig/network file to set the hostname to