Vagrantfile: add test_ovs_kmod provision
authorAndy Zhou <azhou@nicira.com>
Wed, 14 Jan 2015 00:36:00 +0000 (16:36 -0800)
committerAndy Zhou <azhou@nicira.com>
Fri, 16 Jan 2015 21:20:34 +0000 (13:20 -0800)
commit3314f01ee9bdc6e4fa50fbb6033ad8cc88c0563a
tree803ace472ce7a437e4c0a095989692872c9f42e6
parent69c2bdfef91d7b4c14c189a9fc613e25b10437ab
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 <azhou@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Vagrantfile