Skip to content

Commit f04714a

Browse files
authored
Merge pull request #1878 from flatcar/ader1990/hyperv-zip-compression
ci-automation/vms: provide Hyper-V images with .zip compression
2 parents 144a0c4 + ab2cb0f commit f04714a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Hyper-V images, both .vhd and .vhdx files are available as `zip` compressed, switching from `bzip2` to a built-in available Windows compression - `zip` ([scripts#1878](https://github.com/flatcar/scripts/pull/1878))

ci-automation/vms.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ function _vm_build_impl() {
136136
COMPRESSION_FORMAT="gz,bz2,none"
137137
elif [[ "${format}" =~ ^(qemu|qemu_uefi)$ ]];then
138138
COMPRESSION_FORMAT="bz2,none"
139+
elif [[ "${format}" =~ ^(hyperv|hyperv_vhdx)$ ]];then
140+
COMPRESSION_FORMAT="zip"
139141
fi
140142
./run_sdk_container -n "${vms_container}" -C "${packages_image}" \
141143
-v "${vernum}" \

0 commit comments

Comments
 (0)