packer-cn/website/source/docs/post-processors/compress.html.markdown
2014-09-08 10:30:10 -07:00

572 B

layout page_title
docs compress Post-Processor

Compress Post-Processor

Type: compress

The 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",
  "path": "foo.tar.gz"
}