diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 18:45:16 +0100 |
---|---|---|
committer | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 18:45:16 +0100 |
commit | 6c6d3763980179ef02554c2f4b0afb3065262e7b (patch) | |
tree | d16e4bc4ecb8cdee10bd9850629f6d3997029414 /bootstrap/update-baseservice.sh | |
parent | d5c0e6ac02bd4bb1832434ef3fa502a21ac48432 (diff) |
Move rest of the bootstrap-files.
Diffstat (limited to 'bootstrap/update-baseservice.sh')
-rwxr-xr-x | bootstrap/update-baseservice.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bootstrap/update-baseservice.sh b/bootstrap/update-baseservice.sh index 94c3875..c3c0c7e 100755 --- a/bootstrap/update-baseservice.sh +++ b/bootstrap/update-baseservice.sh @@ -16,14 +16,16 @@ then exit 1; fi; -cat netlist.txt | ssh -l root ${PRIMARY} "~/tgmanage/tools/make-missing-conf.pl master ${BASE}" -ssh -l root ${PRIMARY} "~/tgmanage/tools/make-dhcpd-include.pl ${BASE}" -ssh -l root ${PRIMARY} "~/tgmanage/tools/make-bind-include.pl master ${BASE}" +cd ~/tgmanage + +cat netlist.txt | ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-missing-conf.pl master ${BASE}" +ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-bind-include.pl master ${BASE}" +ssh -l root ${PRIMARY} "~/tgmanage/bootstrap/make-dhcpd-include.pl ${BASE}" set +e ssh -l root ${PRIMARY} "chown bind.bind /etc/bind/dynamic/*.zone"; set -e -cat netlist.txt | ssh -l root ${SECONDARY} "~/tgmanage/tools/make-missing-conf.pl slave ${BASE}" -ssh -l root ${SECONDARY} "~/tgmanage/tools/make-bind-include.pl slave ${BASE}" -ssh -l root ${SECONDARY} "~/tgmanage/tools/make-dhcpd-include.pl ${BASE}" +cat netlist.txt | ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-missing-conf.pl slave ${BASE}" +ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-bind-include.pl slave ${BASE}" +ssh -l root ${SECONDARY} "~/tgmanage/bootstrap/make-dhcpd-include.pl ${BASE}" |