From e0688a762ac8f1e62cb867b212614535a00f3860 Mon Sep 17 00:00:00 2001
From: Paul Bourke <paul.bourke@oracle.com>
Date: Tue, 15 Mar 2016 16:18:43 +0000
Subject: [PATCH] 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
---
 tools/setup_RedHat.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/setup_RedHat.sh b/tools/setup_RedHat.sh
index f6d7fbeaeb..cdc8254a6e 100755
--- a/tools/setup_RedHat.sh
+++ b/tools/setup_RedHat.sh
@@ -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}')