-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
VMware -- 5.0.1+ ssh_info #9151
Comments
This command seems to return the right ip for me:
|
@tcataldo I believe that command only works if VMware Tools (or open-vm-tools) is running in the guest, which is not the case for a number of Vagrant-supported Linux distributions (CoreOS being one example). I discovered this today and after repeated testing have found the behavior to be erratic: sometimes Vagrant will report/show "127.0.0.1:2222" in response to |
@briancain any news on this ? the big mess here isn't the behaviour change is as @lowescott mentioned the non determinism of it. Thanks in advance. |
Hi there, A new VMware plugin has been released today. You can read more about it here: https://www.hashicorp.com/blog/introducing-the-vagrant-vmware-desktop-plugin By default the VMware plugin should use the port forward to connect to the VM (much like it does when using the VirtualBox provider) and can be forced to use the public address using the https://www.vagrantup.com/docs/vmware/configuration.html#ssh_info_public If you are still encountering this behavior after upgrading, please open a new issue and I will investigate further. Cheers! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Looks like the VMware plugin 5.0.1+ has a change that broke some plugin functionality, e.g.
vagrant-hostmanager
and some others...ssh_info
is used to derive the IP address.Plugin 5.0.0
Plugin 5.0.3
Downstream plugins could probably be modified, but I can't seem to find anywhere else in the machine's hash where an address other than 127.0.0.1 is exposed.
The text was updated successfully, but these errors were encountered: