Skip to content

Commit

Permalink
Merge pull request #11239 from Mab879/fix_secureboot_install
Browse files Browse the repository at this point in the history
Fix Secure Boot Automatus VM Installs
  • Loading branch information
vojtapolasek authored Jan 5, 2024
2 parents fc33453 + d2b1f49 commit a9e9dae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/install_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,11 @@ def get_virt_install_command(data):
boot_opts.append("uefi")
if data.uefi == "secureboot":
boot_opts.extend([
"loader_secure=yes",
"loader=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd",
"nvram_template=/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd",
"loader.secure=yes",
])
features_opts.append("smm=on")
else:
boot_opts.append("loader.secure=no")

command.extend(join_extented_opt("--boot", ",", boot_opts))
command.extend(join_extented_opt("--extra-args", " ", extra_args_opts))
Expand Down

0 comments on commit a9e9dae

Please sign in to comment.