You found a bug. I'll submit a patch shortly. I'll get pack with a PR #.

On 9 July 2017 at 13:49, Stuart Luscombe <[email protected]> wrote:
> For some reason I cannot get the checksum Post-Processing to run correctly.
>
> The error I'm getting is:
>
> * Post-processor failed: unable to create file packer-centos73/<no
> value>_<no value>.checksum: open packer-centos73/<no value>_<no
> value>.checksum: The filename, directory name, or volume label syntax is
> incorrect.
>
> ==> Some builds didn't complete successfully and had errors:
> --> hyperv-iso: 1 error(s) occurred:
>
> * Post-processor failed: unable to create file packer-centos73/<no
> value>_<no value>.checksum: open packer-centos73/<no value>_<no
> value>.checksum: The filename, directory name, or volume label syntax is
> incorrect.
>
> Below is the post-processors part of my packer json.
>
>   "post-processors":[
>    {
>      "type": "checksum",
>      "checksum_types": ["sha1"],
>      "output": "{{user
> `output_directory`}}/{{.BuildName}}_{{.ChecksumType}}.checksum"
>    },
>    {
>      "type": "manifest",
>      "output": "{{user `output_directory`}}/manifest.json",
>      "strip_path": true
>    }
>  ]
>
> The manifest part is running OK and is creating the file, so I don't
> understand why the checksum is not working.
>
> Platform I'm building on is Windows 10 1703 and builder type is hyperv-iso.
>
> Any ideas?
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/62656d04-30c5-4c32-bfe0-7681a6a27e9e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9iFWSr3xc0rttPtKZa0xiiy8Bgkoh7G7p_NMH6m2NJNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to