summaryrefslogtreecommitdiff
path: root/Vagrantfile
Commit message (Collapse)AuthorAgeFilesLines
* Vagrantfile: add test_ovs_kmod provisionAndy Zhou2015-01-161-10/+19
| | | | | | | | | | | | | | 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>
* vagrant: Build kernel module RPMThomas Graf2015-01-101-1/+3
| | | | | | | | Installs the kernel-devel package of the currently running kernel and builds the kmod RPM in the "install_rpm" phase. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Andy Zhou <azhou@nicira.com>
* vagrant: make sure to bootstrap before configure_ovs.Motonori Shindo2015-01-091-5/+4
| | | | | | | | | | | | | The order of execution in Vagrantfile is "outside-in" meaning that all commands in outer scope are executed first and then the commands in inner scope. Because of this ordering, "configure_ovs" is executed before "bootstrap_fedora", resulting in "configure_ovs" to fail as it is not bootsrapped yet. This change fixes this problem by removing the nested scope in Vagrant.configure block. Multi-machine is not used so we don't need config.vm.define block. Signed-off-by: Motonori Shindo <motonori@shin.do> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* vagrant: switch to use out of tree buildAndy Zhou2015-01-081-0/+49
Vagrant shared folder, at least on the default virtual box, does not support the creation of the socket files. If one were to build OVS under /vagrant, 'make check' would not work. Out of tree builds can be used to work around this issue. See Install.md for instructions. Since out of tree builds requires a clean source tree, Vagrantfile can not be a generated file. This commit removes Vagrantfile.in, commit Vagrantfile instead. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Thomas Graf <tgraf@noironetworks.com>