Commit ba174ea0 authored by Leigh Stoller's avatar Leigh Stoller

Also run named_setup.

parent 9019197f
......@@ -65,6 +65,7 @@ sub RemoveManagementInterface($);
my $TB = "@prefix@";
my $SWITCHMAC = "$TB/libexec/switchmac";
my $DHCPD_MAKECONF = "$TB/sbin/dhcpd_makeconf";
my $NAMED_SETUP = "$TB/sbin/named_setup";
#
# Testbed Support libraries
......@@ -266,6 +267,10 @@ if (!$node->isremotenode()) {
if (system("$DHCPD_MAKECONF -i -r")) {
fatal("Unable to restart dhcpd");
}
print "Re-generating named config and restarting named\n";
if (system("$NAMED_SETUP")) {
fatal("Unable to restart named");
}
}
exit(0);
......
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