diff options
author | Joe Stringer <joe@ovn.org> | 2016-05-25 17:17:37 -0700 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2016-05-25 17:40:13 -0700 |
commit | 53de7528be8edb9de83532d6b129f9124485eabd (patch) | |
tree | 2c0dd621f309e10b6ebfc9d9e425953f0be3f8d6 | |
parent | 6a6b35fcf0a6fd4e1c10046d8789edbbb241d89c (diff) | |
download | openvswitch-53de7528be8edb9de83532d6b129f9124485eabd.tar.gz |
vagrant: Update default box to Fedora-23.
This brings a newer kernel (4.2) and newer iproute2, allowing more of
the tests to run by default.
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
-rw-r--r-- | INSTALL.md | 2 | ||||
-rw-r--r-- | Vagrantfile | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md index 5b37786d9..8a4a5b339 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -608,7 +608,7 @@ tree as found locally in a virtual machine using the following commands: vagrant up vagrant ssh -This will bring up w Fedora 20 VM by default, alternatively the +This will bring up w Fedora 23 VM by default, alternatively the `Vagrantfile` can be modified to use a different distribution box as base. Also, the VM can be reprovisioned at any time: diff --git a/Vagrantfile b/Vagrantfile index 8912a3279..69c1deaef 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -42,7 +42,7 @@ cp openvswitch-$PACKAGE_VERSION.tar.gz $HOME/rpmbuild/SOURCES rpmbuild --bb -D "kversion `uname -r`" /vagrant/rhel/openvswitch-kmod-fedora.spec rpmbuild --bb --without check /vagrant/rhel/openvswitch-fedora.spec rpm -e openvswitch -rpm -ivh $HOME/rpmbuild/RPMS/x86_64/openvswitch-$PACKAGE_VERSION-1.fc22.x86_64.rpm +rpm -ivh $HOME/rpmbuild/RPMS/x86_64/openvswitch-$PACKAGE_VERSION-1.fc23.x86_64.rpm systemctl enable openvswitch systemctl start openvswitch systemctl status openvswitch @@ -54,8 +54,8 @@ make check-system-userspace SCRIPT Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.define "fedora-22" do |fedora| - fedora.vm.box = "bento/fedora-22" + config.vm.define "fedora-23" do |fedora| + fedora.vm.box = "bento/fedora-23" fedora.vm.provision "bootstrap", type: "shell", inline: $bootstrap_fedora fedora.vm.provision "configure_ovs", type: "shell", inline: $configure_ovs fedora.vm.provision "build_ovs", type: "shell", inline: $build_ovs |