Move config to..
This commit is contained in:
parent
3474e812dd
commit
65cbb47498
|
|
@ -6,6 +6,8 @@ HOMEPAGE="https://www.apple.com/macos"
|
|||
DESCRIPTION="Work and play on your Mac are even more powerful. Elevate your presence on video calls. Access information in all-new ways. Boost gaming performance."
|
||||
CREDENTIALS="-"
|
||||
RELEASES="mojave catalina big-sur monterey ventura sonoma"
|
||||
GUEST="macos"
|
||||
IMAGE_TYPE="img"
|
||||
|
||||
function releases_() {
|
||||
echo mojave catalina big-sur monterey ventura sonoma
|
||||
|
|
@ -138,3 +140,12 @@ function get_() {
|
|||
fi
|
||||
make_vm_config RecoveryImage.img
|
||||
}
|
||||
|
||||
function specific_tweaks() {
|
||||
echo "disk_size=\"128G\"" >> "${CONF_FILE}"
|
||||
echo "macos_release=\"${RELEASE}\"" >> "${CONF_FILE}"
|
||||
# https://github.com/quickemu-project/quickemu/issues/438
|
||||
if [ "${RELEASE}" == "monterey" ]; then
|
||||
echo "cpu_cores=2" >> "${CONF_FILE}"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
11
quickget
11
quickget
|
|
@ -588,9 +588,6 @@ function make_vm_config() {
|
|||
kolibrios)
|
||||
GUEST="kolibrios"
|
||||
IMAGE_TYPE="iso";;
|
||||
macos)
|
||||
GUEST="macos"
|
||||
IMAGE_TYPE="img";;
|
||||
netbsd)
|
||||
GUEST="netbsd"
|
||||
IMAGE_TYPE="iso";;
|
||||
|
|
@ -688,14 +685,6 @@ EOF
|
|||
## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom
|
||||
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
|
||||
;;
|
||||
macos)
|
||||
echo "disk_size=\"128G\"" >> "${CONF_FILE}"
|
||||
echo "macos_release=\"${RELEASE}\"" >> "${CONF_FILE}"
|
||||
# https://github.com/quickemu-project/quickemu/issues/438
|
||||
if [ "${RELEASE}" == "monterey" ]; then
|
||||
echo "cpu_cores=2" >> "${CONF_FILE}"
|
||||
fi
|
||||
;;
|
||||
proxmox-ve)
|
||||
echo "disk_size=\"20G\"" >> "${CONF_FILE}"
|
||||
echo "ram=\"4G\"" >> "${CONF_FILE}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue