def config_default_compression(namespace: argparse.Namespace) -> Compression:
- if namespace.output_format in (OutputFormat.tar, OutputFormat.cpio, OutputFormat.uki, OutputFormat.esp):
+ if namespace.output_format in (
+ OutputFormat.tar,
+ OutputFormat.cpio,
+ OutputFormat.uki,
+ OutputFormat.esp,
+ OutputFormat.addon,
+ ):
return Compression.zstd
elif namespace.output_format == OutputFormat.oci:
return Compression.gz
compression means the image cannot be started directly but needs to be
decompressed first. This also means that the `shell`, `boot`, `vm` verbs
are not available when this option is used. Implied for `tar`, `cpio`, `uki`,
- `esp`, and `oci`.
+ `esp`, `oci` and `addon`.
`CompressLevel=`, `--compress-level=`
: Configure the compression level to use. Takes an integer. The possible