Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

#Deploy RancherOS Virtual Machines and switch to latest Docker Engine available
for i in pxcm1 pxcw1 pxcw2 pxcw3;
do docker-machine create -d virtualbox --virtualbox-boot2docker-url https://releases.rancher.com/os/latest/rancheros.iso $i;
docker-machine ssh $i "sudo ros engine switch docker-17.04.0-ce";
docker-machine ssh $i "sudo ros console switch debian -f";
sleep 15;
docker-machine ssh $i "sudo apt update && sudo apt install -qqy ca-certificates";
do docker-machine create -d virtualbox $i;
done

# initialize Swarm Manager and tokens
Expand Down Expand Up @@ -39,3 +35,4 @@ docker-machine ssh pxcw3 "docker swarm join \
--listen-addr $(docker-machine ip pxcw3) \
--advertise-addr $(docker-machine ip pxcw3) \
$(docker-machine ip pxcm1)"