Where does F8 gets the hostname from?

Craig White craigwhite at azapple.com
Sun Nov 18 22:52:28 UTC 2007


On Sun, 2007-11-18 at 16:41 -0600, Thomas Cameron wrote:
> On Sat, 2007-11-17 at 14:14 -0300, Marcelo Magno T. Sales wrote:
> > Hi,
> > 
> > In /etc/sysconfig/network, I have set up the name I want for the host 
> > (that was all I had to do in F7). In system-config-network, at the DNS 
> > tab, the same name is shown. However, when I execute the hostname 
> > command, I get:
> > localhost.localdomain
> > Also, my bash prompt shows "[marcelo at localhost ~]"
> > Where does this information come from?
> 
> Did you reboot after you changed /etc/sysconfig/network?
----
I believe that '/sbin/service network restart' is sufficient to
incorporate changes made to /etc/sysconfig/network without a reboot
----
> Also, did you remember to update /etc/hosts?
----
always a good idea

Craig




More information about the fedora-list mailing list