hostname automatically changed to "localhost"
dexter
dex.mbox at gmail.com
Mon Nov 15 20:21:56 UTC 2010
On 15 November 2010 14:15, Hoang Le <linux.lehoang at gmail.com> 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.
...dex
More information about the users
mailing list