Skip to content

Commit

Permalink
image-base.yaml: compress applehv with gzip, hyperv with zip
Browse files Browse the repository at this point in the history
These platforms are already compressed using those compressors today,
but we're moving that policy out of cosa and into here since it's not a
requirement from the platform itself and more an opinion (which others
may want to differ from).

This uses a new `platform-compressor` key which `cosa compress` will
learn to read.
  • Loading branch information
jlebon committed Dec 4, 2024
1 parent 14c5a7f commit 8ec7cc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions image-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ vmware-os-type: fedora64Guest
vmware-hw-version: 17

compressor: xz

platform-compressor:
# On Windows, it's the only compression tool we can rely on.
hyperv: zip
# On macOS, it's the only compression tool we can rely on.
applehv: gzip

0 comments on commit 8ec7cc5

Please sign in to comment.