Thursday, November 11, 2010

Pass hostname to DHCP server

To make Fedora pass its hostname to the DHCP server through its eth0 interface, I created a new file: /etc/sysconfig/network-scripts/ifcfg-eth0 and put the following into it.


DEVICE=eth0
DHCP_HOSTNAME=X


where X is the hostname.

No comments:

Post a Comment