|
|
@ -336,6 +336,11 @@ function vm_boot() { |
|
|
|
boot=${boot,,} |
|
|
|
boot=${boot,,} |
|
|
|
guest_os=${guest_os,,} |
|
|
|
guest_os=${guest_os,,} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then |
|
|
|
|
|
|
|
# Display MSRs alert if the guest is macOS or windows |
|
|
|
|
|
|
|
ignore_msrs_alert |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Always Boot macOS using EFI |
|
|
|
# Always Boot macOS using EFI |
|
|
|
if [ "${guest_os}" == "macos" ]; then |
|
|
|
if [ "${guest_os}" == "macos" ]; then |
|
|
|
boot="efi" |
|
|
|
boot="efi" |
|
|
@ -636,11 +641,6 @@ function vm_boot() { |
|
|
|
img="" |
|
|
|
img="" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then |
|
|
|
|
|
|
|
# Display MSRs alert if the guest is macOS or windows |
|
|
|
|
|
|
|
ignore_msrs_alert |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Has the status quo been requested? |
|
|
|
# Has the status quo been requested? |
|
|
|
if [ "${STATUS_QUO}" == "-snapshot" ]; then |
|
|
|
if [ "${STATUS_QUO}" == "-snapshot" ]; then |
|
|
|
if [ -z "${img}" ] && [ -z "${iso}" ]; then |
|
|
|
if [ -z "${img}" ] && [ -z "${iso}" ]; then |
|
|
|