appliance: zip systemvm template for hyperv

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-11-25 17:24:00 +05:30
parent 1f21c29855
commit 864e5ab2fc
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ echo "$appliance exported for VMWare: dist/$appliance-$build_date-$branch-vmware
# Export for HyperV
vboxmanage clonehd $hdd_uuid $appliance-$build_date-$branch-hyperv.vhd --format VHD
# HyperV doesn't support import a zipped image from S3
#bzip2 $appliance-$build_date-$branch-hyperv.vhd
# but we create a zipped version to save space on the build system
zip "$appliance-$build_date-$branch-hyperv.vhd.zip" $appliance-$build_date-$branch-hyperv.vhd
echo "$appliance exported for HyperV: dist/$appliance-$build_date-$branch-hyperv.vhd"
mv *-hyperv.vhd *.bz2 *.ova dist/