Skip to content

Commit

Permalink
chore: talosctl: add openSUSE OVMF paths
Browse files Browse the repository at this point in the history
Tested both secureboot and non-secure code. Not enabled SB by default

Signed-off-by: Dmitry Sharshakov <[email protected]>
  • Loading branch information
dsseng committed Mar 25, 2024
1 parent 9456489 commit b752a86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/provision/providers/qemu/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,22 @@ func (arch Arch) PFlash(uefiEnabled bool, extraUEFISearchPaths []string) []PFlas
"OVMF_CODE.secboot.fd",
"OVMF.secboot.fd",
"edk2-x86_64-secure-code.fd", // Alpine Linux
"ovmf-x86_64-ms-4m-code.bin",
}

// Non-secure boot firmware files
uefiSourceFilesInsecure := []string{
"OVMF_CODE_4M.fd",
"OVMF_CODE.fd",
"OVMF.fd",
"ovmf-x86_64-4m-code.bin",
}

// Empty vars files
uefiVarsFiles := []string{
"OVMF_VARS_4M.fd",
"OVMF_VARS.fd",
"ovmf-x86_64-4m-vars.bin",
}

uefiSourceFiles = append(uefiSourceFiles, uefiSourceFilesInsecure...)
Expand Down

0 comments on commit b752a86

Please sign in to comment.