Setup weavescope in all nodes. #docker #docker-machine
for node in {1..10}; do
docker-machine ssh vm$node tce-load -wi curl
docker-machine ssh vm$node curl -L git.io/scope -o /home/docker/scope
docker-machine ssh vm$node chmod +x /home/docker/scope
docker-machine ssh vm$node /home/docker/scope launch $(docker node ls --format "{{.Hostname}}" | xargs docker node inspect --format "{{.Status.Addr}}")
}