Skip to content

Commit f8eb3f9

Browse files
author
gitlab
committed
Merge branch 'fix-typo' into 'master'
<fix>[vm]: change 'ture' to 'yes' for uefi secure opt See merge request zstackio/zstack-utility!1937
2 parents 805fccf + 633a770 commit f8eb3f9

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)