summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_basic/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm_basic/deploy.sh')
-rwxr-xr-xsrc/vagrant/kubeadm_basic/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vagrant/kubeadm_basic/deploy.sh b/src/vagrant/kubeadm_basic/deploy.sh
index 4e12e91..89c4f40 100755
--- a/src/vagrant/kubeadm_basic/deploy.sh
+++ b/src/vagrant/kubeadm_basic/deploy.sh
@@ -4,6 +4,6 @@ set -ex
DIR="$(dirname `readlink -f $0`)"
cd $DIR
+../cleanup.sh
vagrant up
-vagrant ssh master -c "/vagrant/examples/nginx-app.sh" || (vagrant destroy -f; exit 1)
-vagrant destroy -f
+vagrant ssh master -c "/vagrant/examples/nginx-app.sh"