From 3b2c54fe5e8e0773d8f5628ec84f53c30dcff41f Mon Sep 17 00:00:00 2001 From: "Stephen A. Zarkos" Date: Thu, 18 Sep 2014 14:27:31 -0700 Subject: [PATCH] Hyper-V & Azure build support Add Hyper-V and Azure as build targets for development images. --- build_library/vm_image_util.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index 16c586a212..17a79ab773 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -27,6 +27,8 @@ VALID_IMG_TYPES=( cloudstack_vhd digitalocean exoscale + azure + hyperv ) # Set at runtime to one of the above types @@ -182,6 +184,16 @@ IMG_digitalocean_OEM_PACKAGE=oem-digitalocean ## exoscale IMG_exoscale_DISK_FORMAT=qcow2 IMG_exoscale_OEM_PACKAGE=oem-exoscale + +## azure +IMG_azure_BOOT_KERNEL=0 +IMG_azure_DISK_FORMAT=vhd +IMG_azure_OEM_PACKAGE=python-oem + +## hyper-v +IMG_hyperv_BOOT_KERNEL=0 +IMG_hyperv_DISK_FORMAT=vhd + ########################################################### # Validate and set the vm type to use for the rest of the functions