diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-28 14:52:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-28 14:52:02 +0000 |
commit | c5ea99b97d53ddb8451be21ffed5118125457cca (patch) | |
tree | bcd0904d2ca241a1a5bdb6471aac7bff83a51502 /build | |
parent | c9e1eff5278a8ec9faf62bcab48415882f2ef105 (diff) | |
parent | 39720d0230faa526ccfb63baa6d3789ab578af04 (diff) |
Merge "Expanding the overcloud-full filesystem"
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 ##### ########################################################## |