diff --git a/build_library/release_util.sh b/build_library/release_util.sh index c1e518c7cd..faa84425f3 100644 --- a/build_library/release_util.sh +++ b/build_library/release_util.sh @@ -101,7 +101,7 @@ compress_disk_images() { # We want to compress images, but we also want to remove the uncompressed files # from the list of uploadable files. for filename in "${local_files_to_evaluate[@]}"; do - if [[ "${filename}" =~ \.(img|bin|vdi|vhd|vhdx|vmdk)$ ]]; then + if [[ "${filename}" =~ \.(img|bin|vdi|vhd|vhdx|vmdk|qcow[2]?)$ ]]; then # Parse the formats as an array. This will yield an extra empty # array element at the end. readarray -td, FORMATS<<<"${FLAGS_image_compression_formats}," diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index e9bc4d31c0..9a6e89df1f 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -313,6 +313,7 @@ IMG_scaleway_DISK_LAYOUT=vm IMG_scaleway_OEM_PACKAGE=common-oem-files IMG_scaleway_OEM_USE=scaleway IMG_scaleway_OEM_SYSEXT=oem-scaleway +IMG_scaleway_DISK_EXTENSION=qcow2 ###########################################################