dhclient.conf 'send host-name' with args

VR iscdhcp at iotk.net
Tue Feb 3 13:37:21 UTC 2009

I'm successfully updating a Microsoft dhcp implementation using the send
host-name "myHostName"; declaration in dhclient.conf and I'd like
minimize having the hostname hardcoded in multiple places.

How would I pluck out the hostname that is set via /etc/hostname of a
debian system and use it in a "send host-name "$HOSTNAME";
declaration instead?

More information about the dhcp-users mailing list