fix: make sure a minimum of 8GB RAM is allocated to macOS and Windows
This commit is contained in:
parent
b9d0829d5d
commit
341c44e372
2
quickemu
2
quickemu
|
@ -333,7 +333,7 @@ function vm_boot() {
|
|||
echo ", ${RAM_VM} RAM"
|
||||
|
||||
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ] || [ "${guest_os}" == "windows-server" ]; then
|
||||
if [ "${RAM_VM//G/}" -lt 4 ]; then
|
||||
if [ "${RAM_VM//G/}" -lt 8 ]; then
|
||||
echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue