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 | |
parent | d5c0e6ac02bd4bb1832434ef3fa502a21ac48432 (diff) |
Move rest of the bootstrap-files.
-rwxr-xr-x | bootstrap/fetch-debinstall.sh (renamed from tools/fetch-debinstall.sh) | 0 | ||||
-rwxr-xr-x | bootstrap/make-bind-include.pl (renamed from tools/make-bind-include.pl) | 0 | ||||
-rwxr-xr-x | bootstrap/make-dhcpd-include.pl (renamed from tools/make-dhcpd-include.pl) | 0 | ||||
-rwxr-xr-x | bootstrap/make-missing-conf.pl (renamed from tools/make-missing-conf.pl) | 0 | ||||
-rwxr-xr-x | bootstrap/make-pxeboot.sh | 2 | ||||
-rwxr-xr-x | bootstrap/update-baseservice.sh | 14 |
6 files changed, 9 insertions, 7 deletions
diff --git a/tools/fetch-debinstall.sh b/bootstrap/fetch-debinstall.sh index 069e39a..069e39a 100755 --- a/tools/fetch-debinstall.sh +++ b/bootstrap/fetch-debinstall.sh diff --git a/tools/make-bind-include.pl b/bootstrap/make-bind-include.pl index d688dec..d688dec 100755 --- a/tools/make-bind-include.pl +++ b/bootstrap/make-bind-include.pl diff --git a/tools/make-dhcpd-include.pl b/bootstrap/make-dhcpd-include.pl index ded5551..ded5551 100755 --- a/tools/make-dhcpd-include.pl +++ b/bootstrap/make-dhcpd-include.pl diff --git a/tools/make-missing-conf.pl b/bootstrap/make-missing-conf.pl index 598964f..598964f 100755 --- a/tools/make-missing-conf.pl +++ b/bootstrap/make-missing-conf.pl diff --git a/bootstrap/make-pxeboot.sh b/bootstrap/make-pxeboot.sh index 4a9e271..e9ad8a6 100755 --- a/bootstrap/make-pxeboot.sh +++ b/bootstrap/make-pxeboot.sh @@ -25,7 +25,7 @@ mkdir -p /var/lib/tftpboot # This should be done by bootstrap/update-tools ... cp -R ~/tgmanage/pxe/* /var/lib/tftpboot -~/tgmanage/tools/fetch-debinstall.sh /var/lib/tftpboot/debian +~/tgmanage/bootstrap/fetch-debinstall.sh /var/lib/tftpboot/debian # tools/fetch-ubuntulive.sh <- this tool does not exist xD # NOTE! The pxe/ directory contains an 'ubuntu' menu... # The files required to booting Ubuntu installer or live 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}" |