Vagrant VMWare Plugin - Show a virtual machine in a VMWare workstation

I am using Vagrant with VMWare plugin. I noticed that VMs using Vagrant are not automatically displayed in the GUI of the VMWare workstation.

I can (manually) open them with File-> Open ... and by selecting the file .vagrant \ machines \ puppet \ vmware_workstation \ some-unique-id ... vmx . But this is a little annoying. Using VirtualBox, virtual virtual machines are automatically added and removed from the Virtualbox GUI.

Am I missing something or is this just not supported for VMWare boxes?

Reaons why I don't just stick with roaming commands:

  • To quickly see which machines are running (I have multiple machine settings, and yes, I know the vagrant state does the same).
  • Create and restore snapshots (I have a time consuming time and sometimes it's nice to just restore a snapshot during testing)
+3


source to share


3 answers


I don't think there is much to do for # 1, it seems like a VMWare limitation.



However, you can use this Vagrant plugin to add snapshot capability from the command line.

+1


source


I found a (not so surprising) answer to my question: just disable headless mode by setting config.vm.provider.gui=true

in Vagrantfile (as described in https://docs.vagrantup.com/v2/vmware/configuration.html ).



+2


source


I didn't get @mmey's exact solution to work, but it worked for me Vagrantfile

:

config.vm.provider "vmware_fusion" do |v|
  v.gui = true
end

      

Documentation

+2


source







All Articles