Skip to content

Commit

Permalink
wip: Provide a script to simplify installation on workers (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed May 28, 2019
1 parent 9eebc13 commit d95e3af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions install/setup-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ if [ -z "$1" ]; then
exit 1
fi

local MANAGER_PRIVATE_IP=$1
local SSHFS="$USER@$MANAGER_PRIVATE_IP:$HOME/kargo/.kargo $HOME/kargo/.kargo -o IdentityFile=$HOME/.ssh/ssh.pem -o allow_other -o StrictHostKeyChecking=no"
MANAGER_PRIVATE_IP=$1
SSHFS="$USER@$MANAGER_PRIVATE_IP:$HOME/kargo/.kargo $HOME/kargo/.kargo -o IdentityFile=$HOME/.ssh/ssh.pem -o allow_other -o StrictHostKeyChecking=no"

mkdir -p $HOME/kargo/.kargo
$SSHFS
echo $SSHFS | crontab -

0 comments on commit d95e3af

Please sign in to comment.