summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_ovsdpdk/deploy.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-11-16 12:23:16 -0500
committerGuo Ruijing <ruijing.guo@intel.com>2017-11-20 18:43:47 -0500
commit57c01199d342c5051fef2bb94f463f21749089bb (patch)
treec2e6c28b3bd1fed53b92038bf1286e82f4661606 /src/vagrant/kubeadm_ovsdpdk/deploy.sh
parentb2da960212571fc3e287eedcdc4c8c92fed9bf83 (diff)
add examples for container4nfv
1. add example for kubeadm with weave 2. add example for kubeadm with multus 3. add example for kubeadm with ovsdpdk 4. add example for kubeadm with virtlet Change-Id: I138e71e45f0aba8389dca0e1a826f4662572af29 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
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