Closed loic-roux-404 closed 4 years ago
Hi, thanks for reaching out!
This should definitely work, and it's not immediately clear to me why it doesn't. Can you please set the environment var PACKER_LOG=1, and run the build again using the --only=qemu
command line flag so that the logs don't get clutterd by the virtualbox one, and then paste the full output of the build into a gist for me? that should help me track what's going on with the artifact.
I also have two hopefully-helpful template notes, though I don't think either of these will solve your problem.
1) The shell-local post-processor automatically keeps the input artifact so you don't need to set keep_input_artifact=true.
2) Using {{.Provider}} inside the "name" field won't work because the name gets assigned before .Provider is interpolated by the post-processor. The ".Provider" engine will only work inside the "output" option in the post-processors.
Figured with packer new version, don't really know why, i'm going to reopen and publish a gist if i met this issue.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
How i can use post processor of type "vagrant" with qemu artifacts, they seem not supported by my packer configuration.
During packer build after qemu builder i use some post-processors to create ovf from a vdmk. with this tool
Option
keep artifact" : true
seem to doesn't work and during qemu builder the expected qcow2 file doesn't appear in my build directory (just a file without extension "buster" is created)Thanks for your help.
Command:
packer build -parallel=false -force config.json
The error :My config.json