packer-cn/website/source/docs/post-processors/compress.html.markdown

740 B

layout page_title description
docs compress Post-Processor The Packer compress post-processor takes an artifact with files (such as from VMware or VirtualBox) and gzip compresses the artifact into a single archive.

Compress Post-Processor

Type: compress

The Packer compress post-processor takes an artifact with files (such as from VMware or VirtualBox) and gzip compresses the artifact into a single archive.

Configuration

The configuration for this post-processor is extremely simple.

  • output (string) - The path to save the compressed archive.

Example

An example is shown below, showing only the post-processor configuration:

{
  "type": "compress",
  "output": "foo.tar.gz"
}