Re: hostname automatically changed to "localhost"



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.

...dex
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines