systemvmtemplate: update version and fix chmod issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-05-12 16:47:59 +02:00
parent 034b986595
commit 9e3c7d309a
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,7 @@ if ! ovftool_loc="$(type -p "ovftool")" || [ -z "$ovftool_loc" ]; then
vboxmanage export $machine_uuid --output $appliance-$branch-vmware.ovf
mv $appliance-$branch-vmware.ovf $appliance-$branch-vmware.ovf-orig
java -cp convert Convert convert_ovf_vbox_to_esx.xslt $appliance-$branch-vmware.ovf-orig $appliance-$branch-vmware.ovf
chmod 666 *.vmdk *.ovf
tar -cf $appliance-$branch-vmware.ova $appliance-$branch-vmware.ovf $appliance-$branch-vmware-disk[0-9].vmdk
rm -f $appliance-$branch-vmware.ovf $appliance-$branch-vmware.ovf-orig $appliance-$branch-vmware-disk[0-9].vmdk
else

View File

@ -19,7 +19,7 @@ set -x
ROOTPW=password
HOSTNAME=systemvm
CLOUDSTACK_RELEASE=4.5.1
CLOUDSTACK_RELEASE=4.5.2
add_backports () {
sed -i '/backports/d' /etc/apt/sources.list