Merge branch 'patch-1' into 'develop'

Update pandora_deploy_community.sh

See merge request artica/pandorafms!3815
This commit is contained in:
Rafael Ameijeiras 2021-02-03 21:52:16 +01:00
commit 6b9645e7b6
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ check_repo_connection
execute_cmd "systemctl status" "Cheking SystemD" 'This is not a SystemD enable system, if tryng to use in a docker env plese check: https://github.com/pandorafms/pandorafms/tree/develop/extras/docker/centos8'
# Check memomry greather or equal to 2G
execute_cmd "[ $(grep MemTotal /proc/meminfo | awk '{print $2}') -le 2000000 ]" 'Checking memory (required: 2 GB)'
execute_cmd "[ $(grep MemTotal /proc/meminfo | awk '{print $2}') -ge 1700000 ]" 'Checking memory (required: 2 GB)'
# Check disk size at least 10 Gb free space
execute_cmd "[ $(df -BM / | tail -1 | awk '{print $4}' | tr -d M) -gt 10000 ]" 'Checking Disk (required: 10 GB free min)'