Allow installation on reported main memory of 990

This commit is contained in:
Johannes Zellner
2017-01-16 10:36:16 +01:00
parent da2aecc76a
commit 9f20dfb237

View File

@@ -10,7 +10,7 @@ fi
# change this to a hash when we make a upgrade release
readonly LOG_FILE="/var/log/cloudron-setup.log"
readonly MINIMUM_DISK_SIZE_GB="20" # this is the size of "/" and required to fit in docker images
readonly MINIMUM_MEMORY="992" # this is mostly reported for 1GB main memory due to 1000 vs 1024
readonly MINIMUM_MEMORY="990" # this is mostly reported for 1GB main memory (DO 992, EC2 990)
# copied from cloudron-resize-fs.sh
readonly physical_memory=$(free -m | awk '/Mem:/ { print $2 }')