mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 09:20:17 +01:00
Add option for custom UEFI loader
Allows for users to continue to use custom UEFI loaders as well as fixes regression introduced between 1.2.x and 1.3 where users maintained the loader within /vm/.config/BHYVE_UEFI.fd and guests no longer boot after upgrade (even though man page still stated /vm/.config/BHYVE_UEFI.fd was valid).
This commit is contained in:
@@ -139,6 +139,9 @@ vm::run(){
|
||||
uefi-csm)
|
||||
_bootrom="/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd"
|
||||
;;
|
||||
uefi-custom)
|
||||
_bootrom="${VM_DS_PATH}/.config/BHYVE_UEFI.fd"
|
||||
;;
|
||||
*)
|
||||
_bootrom="/usr/local/share/uefi-firmware/BHYVE_UEFI.fd"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user