Skip to content

Commit 2f3dd93

Browse files
author
Matthew Fisher
committed
fix(contrib): give /var/lib/docker 30GB on DO
This bumps our partitions on DigitalOcean to 30GB, which is more suitable for CoreOS. An external block storage would be more suitable, but alas... This also has a side effect of restricting the size of the VM to 2GB+ as per the spec on DigitalOcean droplets.
1 parent 590499e commit 2f3dd93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/digitalocean/create-coreos-docker-store

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ ! -f "/media/doroot/var/lib/coreos/docker.img" ]; then
55
DOFORMAT=1
66
fi
77

8-
truncate -s 10G /media/doroot/var/lib/coreos/docker.img
8+
truncate -s 30G /media/doroot/var/lib/coreos/docker.img
99
LODEV=`losetup -f --show /media/doroot/var/lib/coreos/docker.img`
1010

1111
if [ -n "$DOFORMAT" ]; then

0 commit comments

Comments
 (0)