From 39720d0230faa526ccfb63baa6d3789ab578af04 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 15 Jun 2016 17:29:10 -0400 Subject: Expanding the overcloud-full filesystem Change-Id: Idc5731380a57e227c989c23521e9283859ea1686 Signed-off-by: Dan Radez --- build/overcloud-full.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index 1a8d8461..6f401a6b 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 ##### ########################################################## -- cgit 1.2.3-korg