mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add macos_release VM configuration variable. Tune macOS based on release
Tune Qemu optimisations based on the macOS release, or fallback to lowest common supported options if macos_release is not specified.
This commit is contained in:
parent
c240a17bda
commit
561d04a2b5
3 changed files with 47 additions and 19 deletions
9
quickget
9
quickget
|
@ -148,12 +148,9 @@ EOF
|
|||
echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${OS}-${RELEASE}.conf"
|
||||
fi
|
||||
|
||||
# VirtIO Block Media doesn't work in High Sierra or Mojave so use SATA
|
||||
case ${RELEASE} in
|
||||
high-sierra|mojave)
|
||||
echo "virtio_blk=\"off\"" >> "${OS}-${RELEASE}.conf"
|
||||
;;
|
||||
esac
|
||||
if [ "${OS}" == "macos" ]; then
|
||||
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue