Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
henrique-alexandre opened this issue Jun 29, 2023 · 8 comments
Open

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

henrique-alexandre opened this issue Jun 29, 2023 · 8 comments
Labels

Comments

@henrique-alexandre
Copy link

In reference to: #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 chrisroberts transferred this issue from hashicorp/vagrant Jun 29, 2023
@chrisroberts
Copy link
Member

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
Copy link
Author

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
Copy link
Member

What is your host architecture (amd64 or arm64) ?

@henrique-alexandre
Copy link
Author

henrique-alexandre commented Jun 29, 2023 via email

@hajowieland
Copy link

Same issue here with the following setup:

  • Macbook M1 (arm64)
  • VMware Fusion Professional 13.0.2 (21581413)
  • Vagrant 2.3.7
  • vagrant-vmware-utility 1.0.21 (but installed 1.0.22 from here)
  • vagrant-vmware-desktop 3.0.3

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
Copy link
Author

henrique-alexandre commented Jul 1, 2023 via email

@henrique-alexandre
Copy link
Author

Any heads up here, guys?

@eszense
Copy link
Contributor

eszense commented Apr 21, 2024

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")

eszense added a commit to eszense/vagrant-vmware-desktop that referenced this issue Apr 21, 2024
getGuestIPAddress does not work on nogui mode unless with -wait added. Fixes hashicorp#107 and hashicorp#93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants