This commit is contained in:
Alexander committed 2013-07-02 21:53:54 +02:00
1 parent 65f1dd7072
commit e08aac8b46
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ while [[ ! $(echo | nc $PUBLIC_IP 22) ]]; do
echo " Waiting..."
done
set -e
echo "-----> Connecting and running boostrap script..."
echo "-----> Connecting and running bootstrap script..."
cat ../bootstrap.sh | ssh -o "StrictHostKeyChecking=no" ubuntu@$PUBLIC_IP "HOSTNAME=$PUBLIC_IP sudo bash" 2>&1 | indent
echo "-----> Installing SSH public keys..."
cat ~/.ssh/id_rsa.pub | ssh -o "StrictHostKeyChecking=no" ubuntu@$PUBLIC_IP "sudo gitreceive upload-key test" > /dev/null