Add hcl Example to docker-save
This commit is contained in:
parent
dc87825d5c
commit
7abe0a4759
|
@ -43,7 +43,7 @@ a third-party post-processor.
|
|||
<Tab heading="HCL2">
|
||||
|
||||
```hcl
|
||||
post-processor "checksum" {
|
||||
post-processors "checksum" {
|
||||
checksum_types = ["sha1", "sha256"]
|
||||
output = "packer_{{.BuildName}}_{{.ChecksumType}}.checksum"
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ An example is shown below, showing only the post-processor configuration:
|
|||
<Tab heading="HCL2">
|
||||
|
||||
```hcl
|
||||
post-processor "docker-save" {
|
||||
post-processors "docker-save" {
|
||||
type = "docker-save"
|
||||
path = "foo.tar"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue