-
Bug
-
Resolution: Unresolved
-
Major
-
cnv-4.17
-
0.42
-
False
-
-
False
-
None
-
---
-
---
-
-
High
-
None
Description of problem:
Disable SecureBoot for a VM in the YAML does not work, its enabled. This happens if the VM has a VMCP that sets it to enabled. Cannot override the VMCP setting
Version-Release number of selected component (if applicable):
4.17.0
How reproducible:
Always
Steps to Reproduce:
Have a VM with it disabled
# oc get vm windows11 -o yaml | yq '.spec.template.spec.domain.firmware' bootloader: efi: secureBoot: false
Actual results:
# oc rsh virt-launcher-windows11-f42rt virsh dumpxml 1 --xpath '//domain//os' Authorization not available. Check if polkit service is running or see debug message for more information. <os> <type arch="x86_64" machine="pc-q35-rhel9.4.0">hvm</type> <loader readonly="yes" secure="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.secboot.fd</loader> <nvram template="/usr/share/OVMF/OVMF_VARS.secboot.fd">/var/run/kubevirt-private/libvirt/qemu/nvram/windows11_VARS.fd</nvram> <boot dev="hd"/> <smbios mode="sysinfo"/> </os>
Expected results:
Disabled
Additional info:
Guest OS also detected SecureBoot enabled.
- is depended on by
-
MTV-1620 Test migrating Windows 11 with SecureBoot enabled (infra+guest) (basic)
- Closed