[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Where does F8 gets the hostname from?



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]