summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorDaniele Di Proietto <diproiettod@vmware.com>2016-08-04 10:23:08 -0700
committerDaniele Di Proietto <diproiettod@vmware.com>2016-08-05 13:59:36 -0700
commite4f2c62126923b728477eef92398abb690b50873 (patch)
tree17b3b7ece9b40399722f853fe94521d80e4debc7 /Vagrantfile
parent5b1c9c789dd26088233b6417d4f40bfd103b46db (diff)
downloadopenvswitch-e4f2c62126923b728477eef92398abb690b50873.tar.gz
system-userspace-macros: Check the exit code of ethtool.
If the ethtool command is not available on the system we should fail, since the userspace testsuite cannot work properly without disabling offloads. Also, add ethtool to the list of installed packages on Vagrantfile, to ensure that offloads don't cause test failures in the vagrant VM when the kernel is updated. Fixes: ddcf96d2dcc1 ("system-tests: Disable offloads in userspace tests.") Reported-by: Joe Stringer <joe@ovn.org> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile
index fb06b42ff..843d88c9c 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -11,7 +11,7 @@ dnf -y install autoconf automake openssl-devel libtool \
python-twisted-core python-zope-interface \
desktop-file-utils groff graphviz rpmdevtools nc \
wget python-six pyftpdlib checkpolicy selinux-policy-devel \
- libcap-ng-devel kernel-devel-`uname -r`
+ libcap-ng-devel kernel-devel-`uname -r` ethtool
echo "search extra update built-in" >/etc/depmod.d/search_path.conf
cd /vagrant
./boot.sh