Unable to find host IP from devices


I’m new to packer and wanted to create a VM in VMware Workstation 16 on Windows 10, which automatically starts after being created.
When I run my script a VM is created but I always get an error it doesn’t start automatically:

“==> vmware-iso: Error detecting host IP: Unable to find host IP from devices [vmnet8], last error: No host declarations containing vmnet8 found”

This vmnet8 adapter is used by all my other VMs as “primary network adapter” so I don’t know why it says it’s unable to be found.
Maybe someone has/had a similar problem and knows how to fix this?

Thanks for answers in advance

I had the same problem and this information helped me to solve it:

“Configuring VMnet8 back to its default settings (NAT) in the vmware virtual network editor solved the problem for me.”

Does anyone know why this is the solution?

1 Like

Thanks so much that did the trick!