libvirt_test: stop setting nvram in virt-install on RHEL 9

We use CDN repositories when running tests on GA RHEL. Thus, our RHEL 9.1
machines are actually pulling packages from RHEL 9.2. Therefore, we are
now getting virt-install >= 4. This version brings firmware auto-detection
and doesn't support nvram_template anymore. Let's remove it then.

See 966049ec3c

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2023-05-12 08:31:11 +02:00 committed by Achilleas Koutsou
parent c7d2eaa5f7
commit 25161a8316

View file

@ -283,14 +283,14 @@ else
esac
case "${ID}-${VERSION_ID}" in
"rhel-8"* | "rhel-9.0" | "rhel-9.1" | "centos-8")
"rhel-8"* | "centos-8")
NVRAM_TEMPLATE="nvram_template=/usr/share/edk2/ovmf/OVMF_VARS.fd"
;;
"centos-9" )
# Disable secure boot for CS9 due to bug bz#2108646
NVRAM_TEMPLATE="firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
;;
"rhel-9.2")
"rhel-9"*)
NVRAM_TEMPLATE=""
;;
*)