From 03e4fffb7f6e2937757768e5035ba507120bd531 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 15 Mar 2017 17:25:15 -0400 Subject: 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 --- build/overcloud-opendaylight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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 -- cgit 1.2.3-korg