mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 15:31:41 -04:00
website: document compress post-processor
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "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:
|
||||
|
||||
<pre class="prettyprint">
|
||||
{
|
||||
"type": "compress",
|
||||
"path": "foo.tar.gz"
|
||||
}
|
||||
</pre>
|
||||
Reference in New Issue
Block a user