Increase the docker parition for rht bases in gate

Currently the binary build for the oraclelinux base is just exceeding
the 10GB limit we have set here. Centos is at just under 9GB so will not
be long before it reaches this limit also.

According to infra -
(http://docs.openstack.org/infra/system-config/contribute-cloud.html)
gate VMs should have a 80GB disk, so 20GB for the docker partition does
not seem excessive here.

TrivialFix

Change-Id: I4d7fb240ea90e1e58f8f8046dd7acd0b9502c20d
This commit is contained in:
Paul Bourke 2016-03-15 16:18:43 +00:00
parent db27136ed5
commit e0688a762a

View File

@ -10,7 +10,7 @@ function setup_disk {
sudo mkswap /swapfile
sudo /sbin/swapon /swapfile
sudo dd if=/dev/zero of=/docker bs=1M count=10240
sudo dd if=/dev/zero of=/docker bs=1M count=20480
losetup -f /docker
DEV=$(losetup -a | awk -F: '/\/docker/ {print $1}')