Skip to content

Commit

Permalink
Updated Disk requirements
Browse files Browse the repository at this point in the history
set it to 25 for basic cloud images that start with less than 30GB of disk space
  • Loading branch information
Cyb3rWard0g committed Sep 12, 2018
1 parent 2d51dae commit 8e90e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/helk_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ check_min_requirements(){
if [ "$systemKernel" == "Linux" ]; then
AVAILABLE_MEMORY=$(awk '/MemAvailable/{printf "%.f", $2/1024/1024}' /proc/meminfo)
AVAILABLE_DISK=$(df -m | awk '$NF=="/"{printf "%.f\t\t", $4 / 1024}')
if [ "${AVAILABLE_MEMORY}" -ge "11" ] && [ "${AVAILABLE_DISK}" -ge "30" ]; then
if [ "${AVAILABLE_MEMORY}" -ge "11" ] && [ "${AVAILABLE_DISK}" -ge "25" ]; then
echo "[HELK-INSTALLATION-INFO] Available Memory: $AVAILABLE_MEMORY"
echo "[HELK-INSTALLATION-INFO] Available Disk: $AVAILABLE_DISK"
else
Expand Down

0 comments on commit 8e90e79

Please sign in to comment.