aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap/make-base-requires.sh4
-rwxr-xr-xbootstrap/make-reverse4-files.pl1
2 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap/make-base-requires.sh b/bootstrap/make-base-requires.sh
index 92848df..8013cf6 100755
--- a/bootstrap/make-base-requires.sh
+++ b/bootstrap/make-base-requires.sh
@@ -44,6 +44,7 @@ ssh -l root ${PRIMARY} "mkdir -p ${BASE}/dhcp/conf-v4/"
ssh -l root ${PRIMARY} "mkdir -p ${BASE}/dhcp/conf-v6/"
ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-dhcp6-init.sh"
+ssh -l root ${PRIMARY} "systemctl enable isc-dhcp-server"
ssh -l root ${PRIMARY} "systemctl enable isc-dhcp6-server"
ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-named.pl master ${BASE}"
ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-dhcpd.pl ${BASE}"
@@ -57,7 +58,8 @@ ssh -l root ${SECONDARY} "mkdir -p ${BASE}/dhcp/conf-v4/"
ssh -l root ${SECONDARY} "mkdir -p ${BASE}/dhcp/conf-v6/"
ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-dhcp6-init.sh"
-ssh -l root ${SECONDARY} "insserv -r isc-dhcp-server"
+ssh -l root ${SECONDARY} "systemctl disable isc-dhcp-server"
+ssh -l root ${SECONDARY} "systemctl disable isc-dhcp6-server"
ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-dhcpd.pl ${BASE}"
ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-dhcpd6.pl ${BASE}"
ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-named.pl slave ${BASE}"
diff --git a/bootstrap/make-reverse4-files.pl b/bootstrap/make-reverse4-files.pl
index 86489ba..88f7a37 100755
--- a/bootstrap/make-reverse4-files.pl
+++ b/bootstrap/make-reverse4-files.pl
@@ -44,6 +44,7 @@ if ( $role eq "master" )
}
elsif ( $role eq "slave" )
{
+ open DFILE, ">" . $dhcp_revzones_file or die $!;
open SFILE, ">" . $bind_sec_revzones_file or die $!;
}
else