diff --git a/executor-scripts/linux/dhcp b/executor-scripts/linux/dhcp index 0a2b04c..82ae793 100755 --- a/executor-scripts/linux/dhcp +++ b/executor-scripts/linux/dhcp @@ -2,6 +2,9 @@ set -e +# some users provide a shell fragment for the hostname property. +[ -n "$IF_HOSTNAME" ] && IF_HOSTNAME=$(eval echo $IF_HOSTNAME) + determine_implementation() { [ -n "$IF_DHCP_PROGRAM" ] && echo "$IF_DHCP_PROGRAM" && return [ -x /sbin/dhcpcd ] && echo "dhcpcd" && return