1 2 3 4 5 6 7 8 9
#!/bin/bash set -ex DIR="$(dirname `readlink -f $0`)" cd $DIR ../cleanup.sh vagrant up vagrant ssh master -c "/vagrant/examples/nginx-app.sh"