From 6ae2170bbf1850c2332a6a38965bb0a655d1625d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 9 Feb 2017 17:56:40 -0500 Subject: [PATCH] only apply ebtables race fix on trusty Change-Id: Ifc83e7301d9d921ce9ceed349f116584ce03842b --- lib/nova_plugins/functions-libvirt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt index 6b7c7c263b..b123eecb3f 100644 --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -31,7 +31,7 @@ function install_libvirt { fi install_package libvirt-bin libvirt-dev pip_install_gr libvirt-python - if [[ "$EBTABLES_RACE_FIX" == "True" ]]; then + if [[ ${DISTRO} == "trusty" && ${EBTABLES_RACE_FIX} == "True" ]]; then # Work around for bug #1501558. We can remove this once we # get to a version of Ubuntu that has new enough libvirt. TOP_DIR=$TOP_DIR $TOP_DIR/tools/install_ebtables_workaround.sh