mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 14:31:46 +01:00
feat(image_to_vm): Add openstack image, uses oem-ami and qcow2 format.
This commit is contained in:
parent
c7ba8cd4a4
commit
f8c0033de2
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
VALID_IMG_TYPES=(
|
VALID_IMG_TYPES=(
|
||||||
ami
|
ami
|
||||||
|
openstack
|
||||||
qemu
|
qemu
|
||||||
rackspace
|
rackspace
|
||||||
vagrant
|
vagrant
|
||||||
@ -38,7 +39,7 @@ IMG_DEFAULT_HYBRID_MBR=0
|
|||||||
IMG_DEFAULT_OEM_PACKAGE=
|
IMG_DEFAULT_OEM_PACKAGE=
|
||||||
|
|
||||||
# Name of the target image format.
|
# Name of the target image format.
|
||||||
# May be raw or vmdk (vmware, virtualbox)
|
# May be raw, qcow2 (qemu), or vmdk (vmware, virtualbox)
|
||||||
IMG_DEFAULT_DISK_FORMAT=raw
|
IMG_DEFAULT_DISK_FORMAT=raw
|
||||||
|
|
||||||
# Name of the target config format, default is no config
|
# Name of the target config format, default is no config
|
||||||
@ -73,6 +74,10 @@ IMG_vmware_CONF_FORMAT=vmx
|
|||||||
IMG_ami_HYBRID_MBR=1
|
IMG_ami_HYBRID_MBR=1
|
||||||
IMG_ami_OEM_PACKAGE=oem-ami
|
IMG_ami_OEM_PACKAGE=oem-ami
|
||||||
|
|
||||||
|
## openstack, supports ec2's metadata format so use oem-ami
|
||||||
|
IMG_openstack_DISK_FORMAT=qcow2
|
||||||
|
IMG_openstack_OEM_PACKAGE=oem-ami
|
||||||
|
|
||||||
## rackspace
|
## rackspace
|
||||||
# TODO: package doesn't exist yet
|
# TODO: package doesn't exist yet
|
||||||
#IMG_rackspace_OEM_PACKAGE=oem-rackspace
|
#IMG_rackspace_OEM_PACKAGE=oem-rackspace
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user