From d5c0e6ac02bd4bb1832434ef3fa502a21ac48432 Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Sat, 21 Mar 2015 18:40:28 +0100 Subject: Bootstrap-related files get it's own directory --- tools/create-hostsfile.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 tools/create-hostsfile.sh (limited to 'tools/create-hostsfile.sh') diff --git a/tools/create-hostsfile.sh b/tools/create-hostsfile.sh deleted file mode 100755 index 2aaf9cb..0000000 --- a/tools/create-hostsfile.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -source include/tgmanage.cfg.sh -if [ -z ${PRIMARY} ] -then - echo "Not configured!"; - exit 1; -fi; - -echo >> /etc/hosts -echo "# Bootstrap hosts entries for ${TGNAME} ">> /etc/hosts -echo "${PRI_V6} ${PRIMARY}" >> /etc/hosts -echo "${PRI_V4} ${PRIMARY}" >> /etc/hosts -echo "${SEC_V6} ${SECONDARY}" >> /etc/hosts -echo "${SEC_V4} ${SECONDARY}" >> /etc/hosts -- cgit v1.2.3