Re: hostname automatically changed to "localhost"
- From: dexter <dex.mbox@xxxxxxxxx>
- Date: Mon, 15 Nov 2010 20:21:56 +0000
On 15 November 2010 14:15, Hoang Le <linux.lehoang@xxxxxxxxx> wrote:
I have tried both.
- Changing HOSTNAME in /etc/sysconfig/network doesn't work
- "hostname"command just temporary changes the name
Here's what I did t make it stick while playin with a livecd :-) in F14
# hostname -b <da name u want>
will change it in the current session but logout and its gone, so I edited
/etc/sysconfig/network and then
# service NetworkManager restart
makes it stick everytime also NetworkManager auto updates /etc/hosts.
users mailing list
To unsubscribe or change subscription options: