From 707c6c6f122b654fce780d334ff79ab84c5c0697 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 16 Feb 2016 11:22:59 -0800 Subject: [PATCH] vm_image_util: add a small openstack image for wedging into tiny places Most vm images have an expanded root partiton to make them practical to use as-is. Some deployments may not want such a large root, putting most storage on other volumes. --- build_library/vm_image_util.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index 2dc455f5fd..6572590cc3 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -11,6 +11,7 @@ VALID_IMG_TYPES=( pxe iso openstack + openstack_mini qemu qemu_uefi qemu_uefi_secure @@ -190,6 +191,11 @@ IMG_openstack_DISK_LAYOUT=vm IMG_openstack_OEM_PACKAGE=oem-ec2-compat IMG_openstack_OEM_USE=openstack +## openstack but without a resized root partition for more flexibility +IMG_openstack_mini_DISK_FORMAT=qcow2 +IMG_openstack_mini_OEM_PACKAGE=oem-ec2-compat +IMG_openstack_mini_OEM_USE=openstack + ## brightbox, supports ec2's metadata format so use oem-ec2-compat IMG_brightbox_DISK_FORMAT=qcow2 IMG_brightbox_DISK_LAYOUT=vm