diff options
author | Felix Richter <github@syntax-fehler.de> | 2011-04-09 18:37:52 +0200 |
---|---|---|
committer | Felix Richter <github@syntax-fehler.de> | 2011-04-09 18:37:52 +0200 |
commit | 15779ea080852d75a97421e72f94cae87f54edff (patch) | |
tree | 9e43e00758517660f13828e012cd633191be1e86 /retiolum/hosts/install.sh | |
parent | ac72e9a00cc4aab67962020d3952903b40914f87 (diff) |
added public keys in directory and not tarfile
Diffstat (limited to 'retiolum/hosts/install.sh')
-rwxr-xr-x | retiolum/hosts/install.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh index c74df03a..5fa1d4a5 100755 --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -3,7 +3,7 @@ set -e myname="${1:-dummy}" -rel_hostsfile=`dirname $0`/hosts.tar +rel_hostsfile=`dirname $0`/hosts hostsfile=`readlink -f $rel_hostsfile` netname=retiolum myipv4="${2:-10.7.7.56}" @@ -14,7 +14,10 @@ mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname # get currently known hosts -tar xf $hostsfile +cp -r $hostsfile . +echo "added known hosts:" +ls -1 | LC_ALL=C sort +echo "delete the nodes you do not trust!" cat>tinc-up<<EOF |