Commit 25dbae3a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Hmm, need to actually restart dhcpd (-r option to dhcpd_makeconf) when

adding the nodes, or else they check in and get a dynamic address
again. I'm kinda surprised this has not come up before?
parent 161fbd08
......@@ -489,7 +489,7 @@ if (!@succeeded_nodes) {
# Re-generate dhcpd.conf
#
print "Re-generating dhcpd.conf\n";
if (system("$dhcpd_makeconf -i")) {
if (system("$dhcpd_makeconf -i -r")) {
die "Unable to open regenerate dhcpd config file\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment