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?