fix: make sure a minimum of 8GB RAM is allocated to macOS and Windows

This commit is contained in:
Martin Wimpress 2024-05-09 11:14:03 +01:00 committed by Martin Wimpress
parent b9d0829d5d
commit 341c44e372
1 changed files with 1 additions and 1 deletions

View File

@ -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