Skip to content

Commit

Permalink
Increase minimum RAM sizes and force bigger swap
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jan 19, 2020
1 parent 1247079 commit 441ae67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 441ae67

Please sign in to comment.