admin wrote:
It's worth checking that /etc/sysconfig/network also has whatever hostname you wish to use configured in it.
To effect changes, it may be necessary to restart the network:
service network restart
no need to restart, just run the hostname command to set your system hostname.