Browse code

only apply ebtables race fix on trusty

Change-Id: Ifc83e7301d9d921ce9ceed349f116584ce03842b

Sean Dague authored on 2017/02/10 07:56:40
Showing 1 changed files
... ...
@@ -26,7 +26,7 @@ function install_libvirt {
26 26
         install_package qemu-system
27 27
         install_package libvirt-bin libvirt-dev
28 28
         pip_install_gr libvirt-python
29
-        if [[ "$EBTABLES_RACE_FIX" == "True" ]]; then
29
+        if [[ ${DISTRO} == "trusty" && ${EBTABLES_RACE_FIX} == "True" ]]; then
30 30
             # Work around for bug #1501558. We can remove this once we
31 31
             # get to a version of Ubuntu that has new enough libvirt.
32 32
             TOP_DIR=$TOP_DIR $TOP_DIR/tools/install_ebtables_workaround.sh