github.com/yoctocloud/packer@v0.6.2-0.20160520224004-e11a0a18423f/website/source/docs/post-processors/checksum.html.md (about)

     1  ---
     2  description: |
     3      The checksum post-processor computes specified checksum for the artifact list
     4      from an upstream builder or post-processor. All downstream post-processors will
     5      see the new artifacts. The primary use-case is compute checksum for artifacts
     6      allows to verify it later.
     7      So firstly this post-processor get artifact, compute it checksum and pass to
     8      next post-processor original artifacts and checksum files.
     9  layout: docs
    10  page_title: 'Checksum Post-Processor'
    11  ...
    12  
    13  # Checksum Post-Processor
    14  
    15  Type: `checksum`
    16  
    17  The checksum post-processor computes specified checksum for the artifact list
    18  from an upstream builder or post-processor. All downstream post-processors will
    19  see the new artifacts. The primary use-case is compute checksum for artifact to
    20  verify it later.
    21  
    22  After computes checksum for artifacts, you can use new artifacts with other
    23  post-processors like
    24  [artifice](https://www.packer.io/docs/post-processors/artifice.html),
    25  [compress](https://www.packer.io/docs/post-processors/compress.html),
    26  [docker-push](https://www.packer.io/docs/post-processors/docker-push.html),
    27  [atlas](https://www.packer.io/docs/post-processors/atlas.html), or a third-party
    28  post-processor.
    29  
    30  ## Basic example
    31  
    32  The example below is fully functional.
    33  
    34  ``` {.javascript}
    35  {
    36  "type": "checksum"
    37  }
    38  ```
    39  
    40  ## Configuration Reference
    41  
    42  Optional parameters:
    43  
    44  -   `checksum_types` (array of strings) - An array of strings of checksum types
    45  to compute. Allowed values are md5, sha1, sha224, sha256, sha384, sha512.
    46  -   `output` (string) - Specify filename to store checksums.