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
This commit is contained in:
parent
715e9c8e71
commit
f5083f7a44
@ -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..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user