hostname

Rick Stevens rstevens at vitalstream.com
Tue Jan 6 23:40:34 UTC 2004


Harold E Vine III wrote:
> may seem a basic question, but...
> 
> i gave the command hostname foobar
> 
> when i rebooted, i was back to localhost.localdommain
> 
> how do i do this so that i can change the system name globally and make
> it stay?

Edit /etc/sysconfig/network and change the "HOSTNAME=" parameter to
what you want.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   Sarchasm: The gulf between the author of sarcastic wit and the   -
-                     reader...who doesn't get it.                   -
----------------------------------------------------------------------





More information about the fedora-list mailing list