Skip to content

Commit

Permalink
lxd/instance/drivers/edk2: Add support for seabios in Ubuntu
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
  • Loading branch information
tomponline committed Sep 4, 2024
1 parent 6f4b35f commit 16d0938
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lxd/instance/drivers/edk2/edk2.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ var architectureInstallations = map[int][]Installation{
{Code: "seabios.bin", Vars: "seabios.bin"},
},
},
}, {
Paths: GetenvEdk2Paths("/usr/share/seabios"),
Usage: map[FirmwareUsage][]FirmwarePair{
CSM: {
{Code: "bios-256k.bin", Vars: "bios-256k.bin"},
},
},
}, {
Paths: GetenvEdk2Paths("/usr/share/OVMF/x64"),
Usage: map[FirmwareUsage][]FirmwarePair{
Expand Down

0 comments on commit 16d0938

Please sign in to comment.