cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: refs/heads/master - CLOUDSTACK-1340: Compress QCOW2 for KVM
Date Tue, 05 Mar 2013 13:07:18 GMT
Updated Branches:
  refs/heads/master 5b8f0791e -> 34b37ef8e


CLOUDSTACK-1340: Compress QCOW2 for KVM

As suggested by Marcus, by compression qcow2, we end up having smaller disk image.
I'm still archiving the qcow2 as bz2 because our installation manual still ask
users to cloud-install-sys-tmplt which expects a *.qcow2.bz2

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/34b37ef8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/34b37ef8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/34b37ef8

Branch: refs/heads/master
Commit: 34b37ef8ed35731b0cfed0cf6cb07ea48b89b96f
Parents: 5b8f079
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Tue Mar 5 18:35:09 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Tue Mar 5 18:35:09 2013 +0530

----------------------------------------------------------------------
 tools/appliance/build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/34b37ef8/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index caa3805..69e15d8 100644
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -70,7 +70,7 @@ echo "$appliance exported for Xen: dist/$appliance-$build_date-$branch-xen.vhd.b
 
 # Export for KVM
 vboxmanage internalcommands converttoraw "$hdd_path" raw.img
-qemu-img convert -f raw -O qcow2 raw.img $appliance-$build_date-$branch-kvm.qcow2
+qemu-img convert -f raw -c -O qcow2 raw.img $appliance-$build_date-$branch-kvm.qcow2
 rm raw.img
 bzip2 $appliance-$build_date-$branch-kvm.qcow2
 echo "$appliance exported for KVM: dist/$appliance-$build_date-$branch-kvm.qcow2.bz2"


Mime
View raw message