From: Dan Radez Date: Wed, 15 Jun 2016 21:29:10 +0000 (-0400) Subject: Expanding the overcloud-full filesystem X-Git-Tag: colorado.1.0~158^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F15661%2F1;p=apex.git Expanding the overcloud-full filesystem Change-Id: Idc5731380a57e227c989c23521e9283859ea1686 Signed-off-by: Dan Radez --- 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 ##### ##########################################################