Skip to content

Commit

Permalink
fix: add source path for ovmf flash image
Browse files Browse the repository at this point in the history
talosctl could not find the ovmf flash image to provision a local qemu
on Fedora. We added the source path where the dnf package manager will
place the image.

Fixes #5517

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
  • Loading branch information
Philipp Sauter committed May 11, 2022
1 parent da7b24b commit 67019c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provision/providers/qemu/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (arch Arch) PFlash(uefiEnabled bool, extraUEFISearchPaths []string) []PFlas
return nil
}

uefiSourcePaths := []string{"/usr/share/ovmf/OVMF.fd", "/usr/share/OVMF/OVMF.fd"}
uefiSourcePaths := []string{"/usr/share/ovmf/OVMF.fd", "/usr/share/OVMF/OVMF.fd", "/usr/share/OVMF/OVMF_CODE.fd"}
for _, p := range extraUEFISearchPaths {
uefiSourcePaths = append(uefiSourcePaths, filepath.Join(p, "OVMF.fd"))
}
Expand Down

0 comments on commit 67019c4

Please sign in to comment.