Where does F8 gets the hostname from?

Marcelo Magno T. Sales mmtsales at gmail.com
Mon Nov 19 00:25:32 UTC 2007


Hi, people

Em Dom 18 Nov 2007, Thomas Cameron escreveu:
> 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?
>
> Also, did you remember to update /etc/hosts?

I had rebooted the machine, at least I think I had. However, after a 
power off/power on, the hostname is showing right. Don't remember if I 
had changed anything more before powering off.
Anyway, it's fixed now.

Thanks,

Marcelo




More information about the fedora-list mailing list