Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant VMWare Plugin - Show VM in VMWare Workstation

I'm using Vagrant with the VMWare plugin. I've noticed that VMs upped using Vagrant are not displayed automatically in the VMWare Workstation GUI.

I can (manually) open them using File->Open... and selecting the .vagrant\machines\puppet\vmware_workstation\some-unique-id...vmx file. But that's a bit annoying. Using VirtualBox, vagrant VMs are automatically added and removed from the Virtualbox GUI.

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

Reaons why I'm not just sticking with vagrant commands:

  1. To quickly see which machines are running (I have multiple machine setups and yes, I know vagrant status does the same...)
  2. To create and restore snapshots (I have a time consuming provisioning and sometimes it's nice to just restore to a snapshot while testing)
like image 766
mmey Avatar asked Mar 18 '23 10:03

mmey


1 Answers

I didn't get @mmey's exact solution to work, but putting this in the Vagrantfile worked for me:

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

Documentation

like image 62
Michael Kropat Avatar answered Apr 29 '23 03:04

Michael Kropat