New on cable. Bash prompt name changed?

Ingemar Nilsson init at pdc.kth.se
Wed Apr 12 13:32:54 UTC 2006


ron <macroron at gmail.com> writes:

> I CHANGED THIS FILE:
> 
>  /etc/dhclient-eth0.conf
> 
> I tried adding:
> 
> supersede host-name "localhost.localdomain";
> 
> And:
> 
> supersede domain-name "localhost.localdomain";
> 
> but it doesn't seem to work. What am I doing wrong?

What does your /etc/sysconfig/network-scripts/ifcfg-eth0 say? On my system,
the last line says

DHCP_HOSTNAME=my-hostname

(replace my-hostname with your preferred hostname). Maybe this will help?

Regards
Ingemar




More information about the fedora-list mailing list