[CentOS] Changing hostname?

Sat Sep 13 17:02:22 UTC 2008
John R Pierce <pierce at hogranch.com>

RobertH wrote:
> Marcus,
>
> Exactly, I have often wondered upstream does it that way so that I always
> have to go fix the /etc/hosts file after every CentOS install.
>
> Since functionally, it is wrong.
>   


indeed, having the hostname bound to the loopback interface seems to 
break a bunch of our java stuff too.    first thing we've always had to 
do after a CentOS/RHEL install is change /etc/hosts, and put the 
hostname on its own line with the static IP, or leave it out entirely.