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