mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-16 05:02:29 +01:00
ci-automation/vms: Provide OpenStack image without external compression
For Brightbox we can use the OpenStack image but the import only works with unpacked images. After we enabled internal qcow2 compression the .gz or .bz2 external compression doesn't provide any benefits and makes the import more complicated. Provide the OpenStack image without external compression in addition. The other files are kept for now but we could also delete them if we announce this in advance.
This commit is contained in:
parent
aa0345f5fb
commit
e266147b4f
@ -127,8 +127,10 @@ function _vm_build_impl() {
|
||||
for format in ${formats}; do
|
||||
echo " ################### VENDOR '${format}' ################### "
|
||||
COMPRESSION_FORMAT="bz2"
|
||||
if [[ "${format}" =~ ^(openstack|openstack_mini|digitalocean)$ ]];then
|
||||
if [[ "${format}" =~ ^(openstack_mini|digitalocean)$ ]];then
|
||||
COMPRESSION_FORMAT="gz,bz2"
|
||||
elif [[ "${format}" =~ ^(openstack)$ ]];then
|
||||
COMPRESSION_FORMAT="gz,bz2,none"
|
||||
elif [[ "${format}" =~ ^(qemu|qemu_uefi)$ ]];then
|
||||
COMPRESSION_FORMAT="bz2,none"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user