summaryrefslogtreecommitdiffstats
path: root/discover/network.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-19 15:25:43 +1100
committerJeremy Kerr <jk@ozlabs.org>2013-11-22 10:45:54 +0800
commit08e967ee301b502b2114e3855210a0b2600d095c (patch)
tree2ce173386c3612e3e9ac61d585556f2b4bb6c250 /discover/network.c
parentfc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f (diff)
downloadtalos-petitboot-08e967ee301b502b2114e3855210a0b2600d095c.tar.gz
talos-petitboot-08e967ee301b502b2114e3855210a0b2600d095c.zip
discover: Use pxeconffile for udhcpc option name
The patch that went upstream for udhcpc's option 209 handling uses the option name 'pxeconffile' rather than 'conffile', and it was added as a non-default option: http://git.busybox.net/busybox/commit/?id=d3092c99ae90f This change uses the new name, and explicilty requests this option. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/network.c')
-rw-r--r--discover/network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/network.c b/discover/network.c
index 0490be9..6a1575f 100644
--- a/discover/network.c
+++ b/discover/network.c
@@ -219,6 +219,7 @@ static void configure_interface_dhcp(struct interface *interface)
pb_system_apps.udhcpc,
"-R",
"-n",
+ "-O", "pxeconffile",
"-p", pidfile,
"-i", interface->name,
NULL,
OpenPOWER on IntegriCloud