[Gllug] hostname on CentOS

Caparo caparo at saltmine.org.uk
Thu Nov 10 19:38:48 UTC 2005


On Thursday 10 November 2005 7:28, Daniel P. Berrange wrote:
> On Thu, Nov 10, 2005 at 07:26:43PM +0000, Caparo wrote:
> > Hi,
> >  I have tried in vain to get CentOS 4.2 to accept a change in host.domain
> > name change from the default localhost.localdomain with the command
> > hostname guppy.agro.net
> >  The change appears if you then do the command hostname but disappears
> > after a reboot.
> >  Any pointers welcome
>
>   $ grep HOSTNAME /etc/sysconfig/network
>   HOSTNAME=localhost.localdomain
>
> Change that file & you should be in business.
>
> Regards,
> Dan.
Hi,
 Thanks Dan as you said it did the trick. Another trick to add to my little 
blue book :}
Thanks again
-- 
TTFN
     ^
    @ @  
    /V\    
  /(   )\  Caparo 
   ^^ ^^       
http://www.saltmine.org.uk
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list