diff mbox

[ovs-dev] vagrant: Use official boxes for Fedora and Centos

Message ID cfea62a0e2b9edd560b8b686a4be5bf552913a93.1486648836.git.tredaelli@redhat.com
State Accepted
Headers show

Commit Message

Timothy Redaelli Feb. 9, 2017, 2 p.m. UTC
Change CentOS version to last 7 (7.3 at the moment)
since old kernel-devel version is no longer available

Add net-tools to CentOS since netstat is needed for some tests

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 Vagrantfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Andy Zhou March 8, 2017, 1:09 a.m. UTC | #1
On Thu, Feb 9, 2017 at 6:00 AM, Timothy Redaelli <tredaelli@redhat.com> wrote:
> Change CentOS version to last 7 (7.3 at the moment)
> since old kernel-devel version is no longer available
>
> Add net-tools to CentOS since netstat is needed for some tests
>
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Pushed. Thanks (and sorry for the delay).
diff mbox

Patch

diff --git a/Vagrantfile b/Vagrantfile
index ef25c77..3937f14 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -36,7 +36,7 @@  yum -y install autoconf automake openssl-devel libtool \
                python-twisted-core python-zope-interface \
                desktop-file-utils groff graphviz rpmdevtools nc curl \
                wget python-six pyftpdlib checkpolicy selinux-policy-devel \
-               libcap-ng-devel kernel-devel-`uname -r` ethtool
+               libcap-ng-devel kernel-devel-`uname -r` ethtool net-tools
 SCRIPT
 
 $configure_ovs = <<SCRIPT
@@ -121,7 +121,8 @@  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
        debian.vm.provision "install_deb", type: "shell", inline: $install_deb
   end
   config.vm.define "fedora-23" do |fedora|
-       fedora.vm.box = "bento/fedora-23"
+       fedora.vm.box = "fedora/23-cloud-base"
+       fedora.vm.synced_folder ".", "/vagrant", type: "rsync"
        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
@@ -129,8 +130,8 @@  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
        fedora.vm.provision "test_ovs_system_userspace", type: "shell", inline: $test_ovs_system_userspace
        fedora.vm.provision "install_rpm", type: "shell", inline: $install_rpm
   end
-  config.vm.define "centos-7.2" do |centos|
-       centos.vm.box = "bento/centos-7.2"
+  config.vm.define "centos-7" do |centos|
+       centos.vm.box = "centos/7"
        centos.vm.synced_folder ".", "/vagrant", type: "rsync"
        centos.vm.provision "bootstrap", type: "shell", inline: $bootstrap_centos
        centos.vm.provision "configure_ovs", type: "shell", inline: $configure_ovs