From 95e5912b146fd95bdaf719a8fd4fab20a944a069 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Thu, 22 May 2014 15:43:01 +0100 Subject: [PATCH] feat(vm_image_util): CloudStack support Provide initial support for CloudStack. --- build_library/vm_image_util.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index 083ff75d97..981711186d 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -23,6 +23,8 @@ VALID_IMG_TYPES=( xen gce brightbox + cloudstack + cloudstack_vhd ) # Set at runtime to one of the above types @@ -164,6 +166,13 @@ IMG_rackspace_onmetal_DISK_LAYOUT=onmetal IMG_rackspace_onmetal_OEM_PACKAGE=oem-rackspace-onmetal IMG_rackspace_onmetal_FS_HOOK=onmetal +## cloudstack +IMG_cloudstack_BOOT_KERNEL=0 +IMG_cloudstack_OEM_PACKAGE=oem-cloudstack +IMG_cloudstack_vhd_BOOT_KERNEL=0 +IMG_cloudstack_vhd_DISK_FORMAT=vhd +IMG_cloudstack_vhd_OEM_PACKAGE=oem-cloudstack + ########################################################### # Validate and set the vm type to use for the rest of the functions