summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-03-15 17:25:15 -0400
committerTim Rozet <trozet@redhat.com>2017-03-15 17:25:15 -0400
commit03e4fffb7f6e2937757768e5035ba507120bd531 (patch)
tree72a29c2466ed8ac20d353006dcf27d08adbf22f5 /build
parent2dea739e3ac5baf1bf247cfbf080527981b42aa0 (diff)
Reduces apex odl image size
Uses compression and sparsify to reduce image size so we don't go over the CPIO max size for RPM. JIRA: APEX-402 Change-Id: Ib6e74e703b114080dcabf4eeaa1be68aa56edea3 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/overcloud-opendaylight.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index 7e4f91d8..fdbb75fe 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -113,5 +113,5 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install capnproto-devel,capnproto-libs,capnproto \
-a overcloud-full-opendaylight_build.qcow2
-mv overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
+LIBGUESTFS_BACKEND=direct virt-sparsify --compress overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
popd > /dev/null