test: Add workaround for BZ#2213660 and #2225667

This commit is contained in:
Xiaofeng Wang 2023-07-26 15:34:25 +08:00
parent 2e7afcffe1
commit 967570a2a6
9 changed files with 60 additions and 0 deletions

View file

@ -34,6 +34,13 @@ function greenprint {
echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m"
}
# workaround for bug https://bugzilla.redhat.com/show_bug.cgi?id=2213660
if [[ "$VERSION_ID" == "9.3" || "$VERSION_ID" == "9" ]]; then
sudo tee /etc/sysconfig/libvirtd << EOF > /dev/null
LIBVIRTD_ARGS=
EOF
fi
# Start libvirtd and test it.
greenprint "🚀 Starting libvirt daemon"
sudo systemctl start libvirtd