fix ansible error on centos9

This commit is contained in:
yih 2023-03-01 00:25:56 +08:00 committed by Tomáš Hozza
parent 19f9ab7f58
commit 266cfdcc44
10 changed files with 78 additions and 32 deletions

View file

@ -32,6 +32,11 @@ else
sudo dnf install -y ansible koji
fi
# workaround for bug https://bugzilla.redhat.com/show_bug.cgi?id=2162815
if [[ "${ID}" == "fedora" && "$VERSION_ID" == "37" ]]; then
sudo dnf install -y nghttp2
fi
# workaround for bug https://bugzilla.redhat.com/show_bug.cgi?id=2057769
if [[ "$VERSION_ID" == "9.0" || "$VERSION_ID" == "9" ]]; then
if [[ -f "/usr/share/qemu/firmware/50-edk2-ovmf-amdsev.json" ]]; then