From f687064ebb1a1bab94ce3d8c928dbb70290140aa Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 2 Nov 2017 11:38:38 -0700 Subject: add container4nfv in daily jenkins Change-Id: Icfa4fed9d8a671befb32581b06ac617b6410d3a7 Signed-off-by: Guo Ruijing --- src/vagrant/kubeadm_ovsdpdk/Vagrantfile | 1 + src/vagrant/kubeadm_ovsdpdk/deploy.sh | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 src/vagrant/kubeadm_ovsdpdk/deploy.sh (limited to 'src/vagrant/kubeadm_ovsdpdk') diff --git a/src/vagrant/kubeadm_ovsdpdk/Vagrantfile b/src/vagrant/kubeadm_ovsdpdk/Vagrantfile index f1e7aac..a6ba7aa 100644 --- a/src/vagrant/kubeadm_ovsdpdk/Vagrantfile +++ b/src/vagrant/kubeadm_ovsdpdk/Vagrantfile @@ -13,6 +13,7 @@ Vagrant.configure("2") do |config| vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.1", "1"] vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.2", "1"] vb.customize "post-boot",["controlvm", :id, "setlinkstate1", "on"] + vb.destroy_unused_network_interfaces = true end config.vm.define "master" do |config| diff --git a/src/vagrant/kubeadm_ovsdpdk/deploy.sh b/src/vagrant/kubeadm_ovsdpdk/deploy.sh new file mode 100755 index 0000000..ae9f798 --- /dev/null +++ b/src/vagrant/kubeadm_ovsdpdk/deploy.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -ex +HOME="$(dirname `readlink -f $0`)" + +cd $HOME +vagrant up +vagrant destroy -f -- cgit 1.2.3-korg