From 3314f01ee9bdc6e4fa50fbb6033ad8cc88c0563a Mon Sep 17 00:00:00 2001 From: Andy Zhou Date: Tue, 13 Jan 2015 16:36:00 -0800 Subject: Vagrantfile: add test_ovs_kmod provision Add 'test_ovs_kmod' provision. Command: # vagrant provision --provision-with=test_ovs_kmod will run "make check-kmod" in the vagrant launched VM. It turns out to be more convenient to test within as root. Switch Vagrantfile provisions to run as root user. However, vagrant can still be launched as normal user. Signed-off-by: Andy Zhou Acked-by: Thomas Graf --- Vagrantfile | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index 1cacd3b2d..03e8693a6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,6 +3,7 @@ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" +Vagrant.require_version ">=1.7.0" $bootstrap_fedora = <