-
Notifications
You must be signed in to change notification settings - Fork 51
VMware Workstation on Windows: "Incorrect path in network mappings" #65
Description
Windows 11
VMware® Workstation 16 Pro (16.2.2 build-19200509)
Packer v1.7.10
Plugin pulled today
When running packer build on a freshly setup system it fails with:
"Could not determine network mappings from files in path: C:/Program Files (x86)/VMware/VMware Workstation"
Workstation 16 Pro has installed network files in "C:\ProgramData\VMware", the missing file is netmap.conf. If netmap.conf is placed in the directory stated and not "C:\ProgramData\VMware" the build continues to fail with the same message. I only found this out after realising netmap.conf could be made by editing the network config with vmware and by chance Packer started working.
Originally I was putting a copy of netmap.conf in the stated directory and packer still wouldn't work. After using the network editor and it working I then tested Packer with the file only in one location at a time and it would not work under "C:/Program Files (x86)/VMware/VMware Workstation" which is the stated directory in the message. I'm guessing there was a change in structure at some point for VMware and the error message was overlooked.
Thanks
Luke