diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build/overcloud-full.sh | 5 |
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 ##### ########################################################## |