CLOUDSTACK-1867: Export both ova and vmdk systemvm appliances for VMWare Signed-off-by: Rohit Yadav <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5b86a8e0 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5b86a8e0 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5b86a8e0 Branch: refs/heads/internallb Commit: 5b86a8e0ba6a8dc47407faf50b989d73b6118fc9 Parents: 1e2370d Author: Rohit Yadav <[email protected]> Authored: Wed Apr 10 13:05:54 2013 +0530 Committer: Alena Prokharchyk <[email protected]> Committed: Wed Apr 10 15:44:04 2013 -0700 ---------------------------------------------------------------------- tools/appliance/build.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b86a8e0/tools/appliance/build.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index f1ee4a6..c39d38a 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -81,7 +81,10 @@ rm raw.img bzip2 $appliance-$build_date-$branch-kvm.qcow2 echo "$appliance exported for KVM: dist/$appliance-$build_date-$branch-kvm.qcow2.bz2" -# Export for VMWare vSphere +# Export both ova and vmdk for VMWare +vboxmanage clonehd $hdd_uuid $appliance-$build_date-$branch-vmware.vmdk --format VMDK +bzip2 $appliance-$build_date-$branch-vmware.vmdk +echo "$appliance exported for VMWare: dist/$appliance-$build_date-$branch-vmware.vmdk.bz2" vboxmanage export $machine_uuid --output $appliance-$build_date-$branch-vmware.ova echo "$appliance exported for VMWare: dist/$appliance-$build_date-$branch-vmware.ova"
