hashicorp / vagrant-vmware-desktop

Official provider for VMware desktop products: Fusion, Player, and Workstation.
Mozilla Public License 2.0
266 stars 39 forks source link

Not able to fire VMs without GUI set as true #93

Open henrique-alexandre opened 1 year ago

henrique-alexandre commented 1 year ago

In reference to: https://github.com/hashicorp/vagrant-vmware-desktop/issues/37

I'm experiencing the same issue as the user reported in the thread above.

If I don't enable v.gui = true, my VM does not boot up and gets stuck at: _==> default: Waiting for the VM to receive an address...

My environment:

MacOS Ventura 13.3 Vagrant 2.3.6 vagrant-vmware-desktop (3.0.3, global) vagrant-vmware-utility -v: 1.0.19 Please, help. Thanks.

Alex

chrisroberts commented 1 year ago

Hi there,

Would you please upgrade your Vagrant install and the vagrant-vmware-utility to the latest versions and see if that resolves your issue. If you are still encountering the same behavior, would you please provide the version of Fusion you currently have installed and a copy of your Vagrantfile.

Thanks!

henrique-alexandre commented 1 year ago

Hi. Thanks for getting back to me. Vagrant Installed Version: 2.3.7 vagrant-vmware-desktop (3.0.3, global) Fusion: Version 13.0.2 (21581413) vagrantd-global-config.txt Vagrantfile.txt

Everything has been updated and the issue persists.

chrisroberts commented 1 year ago

What is your host architecture (amd64 or arm64) ?

henrique-alexandre commented 1 year ago

AMD64.

On Thu 29 Jun 2023 at 23:32, Chris Roberts @.***> wrote:

What is your host architecture (amd64 or arm64) ?

— Reply to this email directly, view it on GitHub https://github.com/hashicorp/vagrant-vmware-desktop/issues/93#issuecomment-1613882108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5JY5FSAKSQWILFLCEVBOLXNX673ANCNFSM6AAAAAAZZASPQU . You are receiving this because you authored the thread.Message ID: @.***>

hajowieland commented 1 year ago

Same issue here with the following setup:

Without GUI (vmware.gui = false) its stuck on:

Waiting for the VM to receive an address...

With GUI enabled ( vmware.gui = true) its working correctly.

henrique-alexandre commented 1 year ago

That’s precisely the issue happening on my sidE, but on AMD64 instead.

On Sat 1 Jul 2023 at 11:22, Hans-Jörg Wieland @.***> wrote:

Same issue here with the following setup:

Without GUI (vmware.gui = false) its stuck on:

Waiting for the VM to receive an address...

With GUI enabled ( vmware.gui = true) its working correctly.

— Reply to this email directly, view it on GitHub https://github.com/hashicorp/vagrant-vmware-desktop/issues/93#issuecomment-1615832990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5JY5GNPOJPD5D6MUMI5VLXN724RANCNFSM6AAAAAAZZASPQU . You are receiving this because you authored the thread.Message ID: @.***>

henrique-alexandre commented 1 year ago

Any heads up here, guys?

eszense commented 4 months ago

Same situation here. It was due to this issue with vmrun/VMware tools in my case. I have successfully workaround the issue by patching this line in lib/vagrant-vmware-desktop/driver/base.rb as follows.

-              result = vmrun("getGuestIPAddress", host_vmx_path)
+              result = vmrun("getGuestIPAddress", host_vmx_path, "-wait")