Skip to content

Commit

Permalink
Increase the threshold for disk cleanup to 5GB free
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed Aug 27, 2019
1 parent 132ac63 commit e97921c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer/linux/conf/bin/bk-check-disk-space.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail

DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-1048576} # 1GB
DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-5242880} # 5GB
DISK_MIN_INODES=${DISK_MIN_INODES:-250000} # docker needs lots

DOCKER_DIR="/var/lib/docker/"
Expand Down

0 comments on commit e97921c

Please # to comment.