-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Not working for me even after trying multiple ways:
- Downloaded the plugin from releases.
- After renaming it to 'packer-post-processor-vhd', copied it to ~/packer.d/plugins (also tried ~/.packer.d/plugins).
- Added the post-processor block to generate VHD file from virtualbox-iso artifacts. But, there is no such output (as if the 'vhd' post-processor never ran).
Logs below:
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Pausing before cleanup of step 'StepSuppressMessages'. Press enter to continue.
==> virtualbox-iso: Pausing before cleanup of step 'StepHTTPServer'. Press enter to continue.
==> virtualbox-iso: Pausing before cleanup of step 'StepCreateFloppy'. Press enter to continue.
==> virtualbox-iso: Pausing before cleanup of step 'StepOutputDir'. Press enter to continue.
==> virtualbox-iso: Pausing before cleanup of step 'StepDownload'. Press enter to continue.
==> virtualbox-iso: Pausing before cleanup of step 'StepDownloadGuestAdditions'. Press enter to continue.
==> virtualbox-iso: Running post-processor: manifest
==> virtualbox-iso: Running post-processor: checksum
So, tried alternate way of installing plugin via Go but got the following error:
$ go get github.com/benwebber/packer-post-processor-vhd
# github.com/benwebber/packer-post-processor-vhd
go/src/github.com/benwebber/packer-post-processor-vhd/main.go:13:34: cannot use new(vhd.PostProcessor) (type *vhd.PostProcessor) as type packer.PostProcessor in argument to server.RegisterPostProcessor:
*vhd.PostProcessor does not implement packer.PostProcessor (wrong type for PostProcess method)
have PostProcess(packer.Ui, packer.Artifact) (packer.Artifact, bool, error)
want PostProcess(context.Context, packer.Ui, packer.Artifact) (packer.Artifact, bool, bool, error)
So, maybe some changes in core Packer code has broken the interface contract here. So is it possible to know which is the latest stable Packer version with which the plugin works nicely.
Also, really thanks for this nice post-processor project. Hope I can make it work for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels