summaryrefslogtreecommitdiffstats
path: root/extras/vagrant/Vagrantfile
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-09-06 01:59:43 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-09-08 05:42:13 +0000
commit3079a64e19e997e6735b633377285bb5718f4067 (patch)
treea86cc861837fa649e5a8e8f2f8da6342238557e8 /extras/vagrant/Vagrantfile
parentab7b8d93cf1098970bc17fb4937376bb1ff33a21 (diff)
Fix socket_test.sh vagrant based multi-host tests.
Change-Id: I8ef75a0c702098030c6814c127d3443820122327 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'extras/vagrant/Vagrantfile')
-rw-r--r--extras/vagrant/Vagrantfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/vagrant/Vagrantfile b/extras/vagrant/Vagrantfile
index b463d646092..07db660c034 100644
--- a/extras/vagrant/Vagrantfile
+++ b/extras/vagrant/Vagrantfile
@@ -8,8 +8,6 @@ Vagrant.configure(2) do |config|
if distro == 'centos7'
config.vm.box = "puppetlabs/centos-7.2-64-nocm"
config.ssh.insert_key = false
- elsif distro == 'ubuntu1404'
- config.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
else
config.vm.box = "puppetlabs/ubuntu-16.04-64-nocm"
end
@@ -25,6 +23,8 @@ Vagrant.configure(2) do |config|
config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"install.sh"), :args => "/vpp"
config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"clearinterfaces.sh")
config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"run.sh")
+ elsif post_build == "vcl-test"
+ config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"vcl_test.sh"), :args => "/vpp vagrant"
end
# Add .gnupg dir in so folks can sign patches