new port and another key rotation place for BlaII Test

This commit is contained in:
reddog 2012-01-05 16:45:04 +00:00
parent 1ebd82aa0a
commit 699c447c65
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ then
fi
pubkey=$(for line in $(cat /etc/tinc/$project/rsa_key.pub | sed -e 's/$/%0a/g' | sed -e 's/+/%2b/g' | sed -e 's/ /%20/g'); do echo -n $line; done)
port=666
port=667
cat <<EOF > /etc/tinc/$project/tinc.conf
Name = $hostname
@ -100,7 +100,7 @@ then
fi
# register
wget -T15 "http://mastersword.de/~reddog/tinc/?name=$hostname&port=$port&key=$pubkey" -O /tmp/tinc_${project}_output
wget -T15 "http://mastersword.de/~reddog/tinc_bla2/?name=$hostname&port=$port&key=$pubkey" -O /tmp/tinc_${project}_output
filenames=$(cat /tmp/tinc_${project}_output| grep ^#### | sed -e 's/^####//' | sed -e 's/.conf//g')
for file in $filenames