Increase disk_size for macOS and display MSR alerts more often. Close #153

This commit is contained in:
Martin Wimpress 2021-10-25 12:54:41 +01:00
parent cf20a3268b
commit 5c53dec449
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -489,7 +489,7 @@ function vm_boot() {
OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m')
GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard"
if [ -z "${disk_size}" ]; then if [ -z "${disk_size}" ]; then
disk_size="64G" disk_size="96G"
fi fi
;; ;;
windows) windows)
@ -569,13 +569,11 @@ function vm_boot() {
# If there is a disk image that appears to be used do not boot from installation media. # If there is a disk image that appears to be used do not boot from installation media.
iso="" iso=""
img="" img=""
else fi
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
# Display MSRs alert if the disk appears unused and guest is macOS or Windows if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
# Assume that a "used" disk has a working install, therefore no alerts are # Display MSRs alert if the guest is macOS
# required. ignore_msrs_alert
ignore_msrs_alert
fi
fi fi
# Has the status quo been requested? # Has the status quo been requested?