From 441ae67b45e28b6f1bfdf9fffbf0ac532a88ea4b Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Sat, 18 Jan 2020 22:28:01 -0600 Subject: [PATCH] Increase minimum RAM sizes and force bigger swap --- virtualmin-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index b23dd29..bcd0ab6 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -18,7 +18,7 @@ # License and version SERIAL=GPL KEY=GPL -VER=6.0.20 +VER=6.1.1 vm_version=6 # Currently supported systems: @@ -518,10 +518,10 @@ fi # Check memory if [ "$mode" = "full" ]; then - minimum_memory=1048576 + minimum_memory=1610613 else # minimal mode probably needs less memory to succeed - minimum_memory=786432 + minimum_memory=1048576 fi if ! memory_ok "$minimum_memory"; then log_fatal "Too little memory, and unable to create a swap file. Consider adding swap"