boot is now an image setup script. receiver updated to work with gitreceive-next

This commit is contained in:
Jeff Lindsay
2013-11-08 14:19:30 -08:00
parent 986acb28b5
commit 75a5466650
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -eo pipefail
if [[ $3 == *dokku* ]]; then
if [[ $2 == *dokku* ]]; then
mkdir $HOME/build
cd $HOME/build
tar -xf -
@@ -12,7 +12,7 @@ if [[ $3 == *dokku* ]]; then
echo "-----> Generating keypair..."
ssh-keygen -f $HOME/.ssh/id_rsa -t rsa -N ''
echo "-----> Installing SSH public key..."
cat ~/.ssh/id_rsa.pub | sudo sshcommand acl-add dokku test
cat $HOME/.ssh/id_rsa.pub | sudo sshcommand acl-add dokku test
echo "-----> Intitial SSH connection to populate known_hosts..."
ssh -o StrictHostKeyChecking=no dokku@dokku.me help
echo "-----> Running tests"