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:
parent
c7d2eaa5f7
commit
25161a8316
1 changed files with 2 additions and 2 deletions
|
|
@ -283,14 +283,14 @@ else
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "${ID}-${VERSION_ID}" in
|
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"
|
NVRAM_TEMPLATE="nvram_template=/usr/share/edk2/ovmf/OVMF_VARS.fd"
|
||||||
;;
|
;;
|
||||||
"centos-9" )
|
"centos-9" )
|
||||||
# Disable secure boot for CS9 due to bug bz#2108646
|
# Disable secure boot for CS9 due to bug bz#2108646
|
||||||
NVRAM_TEMPLATE="firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
|
NVRAM_TEMPLATE="firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
|
||||||
;;
|
;;
|
||||||
"rhel-9.2")
|
"rhel-9"*)
|
||||||
NVRAM_TEMPLATE=""
|
NVRAM_TEMPLATE=""
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue