summaryrefslogtreecommitdiffstats
path: root/build/overcloud-full.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-06-28 14:52:02 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-28 14:52:02 +0000
commitc5ea99b97d53ddb8451be21ffed5118125457cca (patch)
treebcd0904d2ca241a1a5bdb6471aac7bff83a51502 /build/overcloud-full.sh
parentc9e1eff5278a8ec9faf62bcab48415882f2ef105 (diff)
parent39720d0230faa526ccfb63baa6d3789ab578af04 (diff)
Merge "Expanding the overcloud-full filesystem"
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-xbuild/overcloud-full.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index 340053b3..f35e3ceb 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -18,6 +18,11 @@ if [ ! -d images/ ]; then mkdir images; fi
tar -xf cache/overcloud-full.tar -C images/
mv -f images/overcloud-full.qcow2 images/overcloud-full_build.qcow2
+# Add extra space to the overcloud image
+qemu-img resize images/overcloud-full_build.qcow2 +1G
+LIBGUESTFS_BACKEND=direct virt-customize -a images/overcloud-full_build.qcow2 \
+ --run-command 'resize2fs /dev/sda'
+
##########################################################
##### Prep initial overcloud image with common deps #####
##########################################################