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

@ -10,6 +10,12 @@ source /usr/libexec/tests/osbuild-composer/shared_lib.sh
source /etc/os-release
ARCH=$(uname -m)
# 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"