summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-04-09 18:37:52 +0200
committerFelix Richter <github@syntax-fehler.de>2011-04-09 18:37:52 +0200
commitaff2c8af325e8824377b220226629d8891ca203b (patch)
treeea3088f6b6d281aeacd4126376f829538a994d5f /install.sh
parentf103156a33e6f1c5d5a8bdfdb0c3a15522b79f5a (diff)
added public keys in directory and not tarfile
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index c74df03a..5fa1d4a5 100755
--- a/install.sh
+++ b/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