Overview of the Issue
Right now if you build a system with the vmware-iso builder it fails when it can't find the tools ISO. After poking around at the plugin code as a non-Go developer it looks like this function builds the path:
https://github.com/hashicorp/packer-plugin-vmware/blob/ccc6c4ebc70b719c848cdf0e694090b719afa2b5/builder/vmware/common/driver_fusion5.go#L196
The problem is the path has changed in later Fusion releases (at least 13, but possibly earlier) to organize the ISOs by architecture.
Instead of finding the linux.iso file at /Applications/VMware Fusion.app/Contents/Library/isoimages/linux.iso it's now at either /Applications/VMware Fusion.app/Contents/Library/isoimages/x86_x64/linux.iso.
Reproduction Steps
Use vmware-iso builder with VMware Fusion 13 installed on a macOS system:
packer build -only vmware-iso -debug packer_templates/debian/debian-9.13-amd64.json
Debug mode enabled. Builds will not be parallelized.
vmware-iso: output will be in this color.
Build 'vmware-iso' errored after 136 milliseconds 388 microseconds: Couldn't find VMware tools for 'linux'! VMware often downloads these
tools on-demand. However, to do this, you need to create a fake VM
of the proper type then click the 'install tools' option in the
VMware GUI.
Plugin and Packer version
Packer v1.8.5
Simplified Packer Buildfile
https://github.com/chef/bento/blob/main/packer_templates/debian/debian-9.13-amd64.json
Operating system and Environment details
macOS 12.6.2 on Intel
Log Fragments and crash.log files
Overview of the Issue
Right now if you build a system with the vmware-iso builder it fails when it can't find the tools ISO. After poking around at the plugin code as a non-Go developer it looks like this function builds the path:
https://github.com/hashicorp/packer-plugin-vmware/blob/ccc6c4ebc70b719c848cdf0e694090b719afa2b5/builder/vmware/common/driver_fusion5.go#L196
The problem is the path has changed in later Fusion releases (at least 13, but possibly earlier) to organize the ISOs by architecture.
Instead of finding the linux.iso file at
/Applications/VMware Fusion.app/Contents/Library/isoimages/linux.isoit's now at either/Applications/VMware Fusion.app/Contents/Library/isoimages/x86_x64/linux.iso.Reproduction Steps
Use vmware-iso builder with VMware Fusion 13 installed on a macOS system:
Plugin and Packer version
Packer v1.8.5
Simplified Packer Buildfile
https://github.com/chef/bento/blob/main/packer_templates/debian/debian-9.13-amd64.json
Operating system and Environment details
macOS 12.6.2 on Intel
Log Fragments and crash.log files