diff options
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-x | build/overcloud-full.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index 340053b3..777fa1c5 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 ##### ########################################################## @@ -30,7 +35,7 @@ popd > /dev/null # download customized os-net-config rm -fr os-net-config -git clone https://github.com/trozet/os-net-config.git -b hiera_nic_mapping +git clone https://github.com/trozet/os-net-config.git -b stable/colorado pushd os-net-config > /dev/null pushd os_net_config > /dev/null git archive --format=tar.gz --prefix=os_net_config/ HEAD > ../../os-net-config.tar.gz |