Skip to content

Commit 633a770

Browse files
committed
<fix>[vm]: change 'ture' to 'yes' for uefi secure opt
Resolves: ZSTAC-47508 Change-Id: I6c716e6d72656970726b736a6e6c6b76656b6274 Signed-off-by: AlanJager <ye.zou@zstack.io>
1 parent 805fccf commit 633a770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kvmagent/kvmagent/plugins/vm_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3756,7 +3756,7 @@ def on_x86_64():
37563756
# if boot mode is UEFI
37573757
if cmd.bootMode == "UEFI" or cmd.bootMode == "UEFI_WITH_CSM":
37583758
if cmd.secureBoot:
3759-
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd', attrib={'readonly': 'yes', 'secure': 'true', 'type': 'pflash'})
3759+
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd', attrib={'readonly': 'yes', 'secure': 'yes', 'type': 'pflash'})
37603760
e(os, 'nvram', '/var/lib/libvirt/qemu/nvram/%s.fd' % cmd.vmInstanceUuid, attrib={'template': '/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd'})
37613761
else:
37623762
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.cc.fd', attrib={'readonly': 'yes', 'type': 'pflash'})

0 commit comments

Comments
 (0)