Always boot macOS via OpenCore

This commit is contained in:
Martin Wimpress 2021-10-07 16:05:10 +01:00
parent 7553e77b11
commit d49bcb3452
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -665,7 +665,7 @@ function vm_boot() {
if [ "${guest_os}" == "macos" ]; then if [ "${guest_os}" == "macos" ]; then
# shellcheck disable=SC2054 # shellcheck disable=SC2054
args+=(-device ahci,id=ahci args+=(-device ahci,id=ahci
-device ide-hd,bus=ahci.0,drive=BootLoader -device ide-hd,bus=ahci.0,drive=BootLoader,bootindex=0
-drive id=BootLoader,if=none,format=qcow2,file="${MAC_BOOTLOADER}") -drive id=BootLoader,if=none,format=qcow2,file="${MAC_BOOTLOADER}")
if [ -n "${img}" ]; then if [ -n "${img}" ]; then