From 2d7668bc019d5e396ac2a629ba96a924301f7f23 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 3 Sep 2020 16:07:27 -0600 Subject: [PATCH] dhcp executor: add support for udhcpc-opts property --- executor-scripts/linux/dhcp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/executor-scripts/linux/dhcp b/executor-scripts/linux/dhcp index fa576e7..783f6e1 100755 --- a/executor-scripts/linux/dhcp +++ b/executor-scripts/linux/dhcp @@ -24,7 +24,8 @@ start() { ${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $IFACE ;; udhcpc) - ${MOCK} /sbin/udhcpc -b -R -p /var/run/udhcpc.$IFACE.pid -i $IFACE + UDHCPC_OPTS=$(eval echo $IF_UDHCPC_OPTS) + ${MOCK} /sbin/udhcpc -b -R -p /var/run/udhcpc.$IFACE.pid -i $IFACE $UDHCPC_OPTS ;; *) ;;