Add Fedora 32 to supported list and use as fedora-latest
This includes a workaround to a known dnsmasq >= 2.81 issue that
results in unanswered DHCP requests from instances as documented in the
following Neutron bug:
dnsmasq >= 2.81 not responding to DHCP requests with current q-dhcp configs
https://bugs.launchpad.net/neutron/+bug/1896945
For the time being we will attempt to downgrade to 2.80 to avoid this.
Related-Bug: #1896945
Change-Id: I3a760c43956221424926bd9dad0ebe9b28ae2b52
diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh
index c0e07dd..a3bda2b 100755
--- a/tools/fixup_stuff.sh
+++ b/tools/fixup_stuff.sh
@@ -143,6 +143,13 @@
# overwriting works. So this hacks around those packages that
# have been dragged in by some other system dependency
sudo rm -rf /usr/lib64/python3*/site-packages/PyYAML-*.egg-info
+
+ # NOTE(lyarwood): Workaround a known issue on Fedora with dnsmasq >= 2.81
+ # by downgrading to 2.80 for the time being.
+ # https://bugs.launchpad.net/neutron/+bug/1896945
+ if [[ "$DISTRO" == "f32" ]] && [[ $(rpm --queryformat %{VERSION} -q dnsmasq) != "2.80" ]]; then
+ sudo dnf downgrade dnsmasq-2.80 -y
+ fi
}
function fixup_suse {