Code of Conduct
Packer Version
1.15.3
Packer Plugin Version
2.1.2
Plugin Component
Hypervisor
Hypervisor Version
26H1
Hypervisor Operating System
macOS 15.7.7
Description
A packer config that works with the VMware plugin correctly produces a vagrant .box when using VMware plugin version 1.2.0
From 2.0 (after updating to set the tools_mode option) the VM still builds correctly, but fails at the final step with the following error:
* Post-processor failed: Unknown artifact type, can't build box: vmware.desktop
Packer Configuration
https://github.com/Koalephant/packer-plugin-vmware/tree/error-status-2x/example/iso
I've modified the "example" configuration to show the issue, with two changes:
- fixed the current Debian ISO version link
- added vagrant post processor to the build config
Debug Output
https://gist.github.com/stephenreay/8d17670c22b955ec91d6e70bfd612ac7
Panic Output
No response
Expected Behavior
The post-processor should create a vagrant .box file from the input artifact (the VM)
Actual Behavior
The post-processor throws an error "Unknown artifact type, can't build box: vmware.desktop"
Steps to Reproduce
git clone https://github.com/Koalephant/packer-plugin-vmware
cd packer-plugin-vmware
git checkout error-status-2x
packer init -force .
packer build -var-file=pkrvars/debian/fusion-arm64.pkrvars.hcl .
Environment Details
Reproduced on a M2 Ultra Mac Studio and an Intel Core i7 Mac mini
Screenshots
No response
References
No response
Code of Conduct
Packer Version
1.15.3
Packer Plugin Version
2.1.2
Plugin Component
Hypervisor
Hypervisor Version
26H1
Hypervisor Operating System
macOS 15.7.7
Description
A packer config that works with the VMware plugin correctly produces a vagrant .box when using VMware plugin version 1.2.0
From 2.0 (after updating to set the
tools_modeoption) the VM still builds correctly, but fails at the final step with the following error:Packer Configuration
https://github.com/Koalephant/packer-plugin-vmware/tree/error-status-2x/example/iso
I've modified the "example" configuration to show the issue, with two changes:
Debug Output
https://gist.github.com/stephenreay/8d17670c22b955ec91d6e70bfd612ac7
Panic Output
No response
Expected Behavior
The post-processor should create a vagrant .box file from the input artifact (the VM)
Actual Behavior
The post-processor throws an error "Unknown artifact type, can't build box: vmware.desktop"
Steps to Reproduce
Environment Details
Reproduced on a M2 Ultra Mac Studio and an Intel Core i7 Mac mini
Screenshots
No response
References
No response