Skip to content

Commit

Permalink
Merge branch 'fix-typo' into 'master'
Browse files Browse the repository at this point in the history
<fix>[vm]: change 'ture' to 'yes' for uefi secure opt

See merge request zstackio/zstack-utility!1937
  • Loading branch information
gitlab committed Jul 8, 2022
2 parents 805fccf + 633a770 commit f8eb3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvmagent/kvmagent/plugins/vm_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3756,7 +3756,7 @@ def on_x86_64():
# if boot mode is UEFI
if cmd.bootMode == "UEFI" or cmd.bootMode == "UEFI_WITH_CSM":
if cmd.secureBoot:
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd', attrib={'readonly': 'yes', 'secure': 'true', 'type': 'pflash'})
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd', attrib={'readonly': 'yes', 'secure': 'yes', 'type': 'pflash'})
e(os, 'nvram', '/var/lib/libvirt/qemu/nvram/%s.fd' % cmd.vmInstanceUuid, attrib={'template': '/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd'})
else:
e(os, 'loader', '/usr/share/edk2/ovmf/OVMF_CODE.cc.fd', attrib={'readonly': 'yes', 'type': 'pflash'})
Expand Down

0 comments on commit f8eb3f9

Please sign in to comment.