How to send DHCP hostname with NM?

Mogens Kjaer mk at crc.dk
Mon Mar 9 14:07:19 UTC 2009


Neal Becker wrote:
...
> I can say now for certain, that it will send the hostname iff you create 
> /etc/dhclient-<iface>.conf with:
> send host-name "<your hostname>";

This file do exist on my machines. It seems to be created automatically
by /etc/sysconfig/network-scripts/ifup-eth:

# cat dhclient-eth0.conf
send host-name "evon800c.crc.dk";  # temporary RHL ifup addition


Mogens


-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list