summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_ovsdpdk/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm_ovsdpdk/deploy.sh')
-rwxr-xr-xsrc/vagrant/kubeadm_ovsdpdk/deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_ovsdpdk/deploy.sh b/src/vagrant/kubeadm_ovsdpdk/deploy.sh
index f5b810e..2cf96b9 100755
--- a/src/vagrant/kubeadm_ovsdpdk/deploy.sh
+++ b/src/vagrant/kubeadm_ovsdpdk/deploy.sh
@@ -4,5 +4,8 @@ set -ex
DIR="$(dirname `readlink -f $0`)"
cd $DIR
+vagrant destroy -f
+rm -rf container-ipam-state
vagrant up
+vagrant ssh master -c "/vagrant/examples/virtio-user.sh" || (vagrant destroy -f; exit 1)
vagrant destroy -f