summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_multus/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm_multus/deploy.sh')
-rwxr-xr-xsrc/vagrant/kubeadm_multus/deploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_multus/deploy.sh b/src/vagrant/kubeadm_multus/deploy.sh
index f5b810e..a0e7843 100755
--- a/src/vagrant/kubeadm_multus/deploy.sh
+++ b/src/vagrant/kubeadm_multus/deploy.sh
@@ -4,5 +4,7 @@ set -ex
DIR="$(dirname `readlink -f $0`)"
cd $DIR
+vagrant destroy -f
vagrant up
+vagrant ssh master -c "/vagrant/examples/multus.sh" || (vagrant destroy -f; exit 1)
vagrant destroy -f