It seems that the prominent North American Enterprise Linux vendor has decided that dhclient.conf
should be ignored, i.e. ifup-eth causes dhclient to be called with "-cf
/etc/dhclient-$(DEVICE).conf", and then ifup-eth/ifdown-eth wipes the file out each time.
Through the use of "DHCP_HOSTNAME" in ifcfg-eth0 you can specify a host name, but because of the
above behavior of ifup-eth other options don't seem to be able to be passed to dhclient.
I tried placing
into dhclient-up-hooks, but that also seems to be ignored, and my google fu seems to be failing on
how to build dhclient-enter-hooks for the purpose (if that would even help).
anyone got better suggestions than:
a) mod /etc/sysconfig/network-scripts/ifup-eth to build /etc/dhclient-$(DEVICE).conf combining the
options I want.
b) brute forcing things with `chattr +i /etc/ntp.conf`
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
CentOS mailing list