[CentOS] Changing Host Name

Fri Jul 8 07:15:07 UTC 2011
Simon Matter <simon.matter at invoca.ch>

> Hi John,
>
> You have to also change this file
>
> /etc/sysconfig/network
>
> in the HOSTNAME field change it to your desired name

And if you configure interfaces using DHCP, you may also check
/etc/sysconfig/network-scripts/ifcfg-eth? for DHCP_HOSTNAME (or something
similar) and change it.

Simon