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 | aff2c8af325e8824377b220226629d8891ca203b (patch) | |
tree | ea3088f6b6d281aeacd4126376f829538a994d5f /install.sh | |
parent | f103156a33e6f1c5d5a8bdfdb0c3a15522b79f5a (diff) |
added public keys in directory and not tarfile
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |