From f5083f7a4498e7fca2147e748b51be73c5bbad7b Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Fri, 14 Feb 2025 10:46:13 -0800 Subject: [PATCH] trivial: de-distro dnsmasq version check While doing some work on a fips-enabled machine, using centos, I noticed the check is looking for a ubuntu package version. Realistically, that is wrong, since 2.90 in general is what we're seeking. Change-Id: I02179f10a360a5dd83f4efe28c1ecbb51afb57ab --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 463f1edc29..1034ec08ca 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -3564,7 +3564,7 @@ function downgrade_dnsmasq { # includes the fix for the crash issue described in # https://bugs.launchpad.net/ironic/+bug/2026757 # This patch has yet to be included in a release. - if dnsmasq --version | grep -q "Dnsmasq version 2.90deb2-8-gf006be7"; then + if dnsmasq --version | grep -q "Dnsmasq version 2.90"; then # NOTE(JayF) Keep Ironic devstack plugin idempotent by skipping # downgrade if we already have the desired version. echo "Dnsmasq already downgraded, continuing..."