~oddbloke/vmbuilder/jenkins_kvm

« back to all changes in this revision

Viewing changes to jenkins/CloudImages_Azure.sh

  • Committer: Robert Jennings
  • Date: 2016-05-12 13:58:01 UTC
  • mfrom: (748.1.4 jenkins_kvm)
  • Revision ID: robert.jennings@canonical.com-20160512135801-0p1mmmdxv6rrf3y2
Handle img rename in CloudImage_Azure.sh and remove cruft

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
set -x
36
36
# Variables
37
 
disk_name="${SUITE}-server-cloudimg-amd64-disk1.img"
 
37
case ${SUITE} in
 
38
    precise|trusty|wily|xenial)
 
39
        disk_name="${SUITE}-server-cloudimg-amd64-disk1.img"
 
40
        ;;
 
41
    *)
 
42
        disk_name="${SUITE}-server-cloudimg-amd64.img"
 
43
        ;;
 
44
esac
38
45
raw_name="${PWD}/${SUITE}-server-cloudimg-amd64-disk1.raw"
39
46
vhd_name="${PWD}/${SUITE}-server-cloudimg-amd64-disk1.vhd"
40
47
disk_root="${DISK_ROOT:-/srv/ec2-images/${SUITE}/${SERIAL}}"