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.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vagrant/kubeadm_multus/deploy.sh b/src/vagrant/kubeadm_multus/deploy.sh
index a0e7843..9c9e51e 100755
--- a/src/vagrant/kubeadm_multus/deploy.sh
+++ b/src/vagrant/kubeadm_multus/deploy.sh
@@ -4,7 +4,6 @@ set -ex
DIR="$(dirname `readlink -f $0`)"
cd $DIR
-vagrant destroy -f
+../cleanup.sh
vagrant up
-vagrant ssh master -c "/vagrant/examples/multus.sh" || (vagrant destroy -f; exit 1)
-vagrant destroy -f
+vagrant ssh master -c "/vagrant/examples/multus.sh"