Skip to content

Commit

Permalink
Fix thing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwiik committed Mar 7, 2019
1 parent a91e5dc commit 9f6d996
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/workers/scripts/join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ if [ $UFW_INSTALLED -eq 0 ]; then
sudo ufw allow 4789/udp
fi

echo "joining swarm with token: $1"

# Join cluster
${docker_cmd} swarm join --token $1 \
--availability ${availability} ${manager_private_ip}:2377

0 comments on commit 9f6d996

Please sign in to comment.