Search code examples
vagrantvmware-workstation

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)

Solution

  • I don't think there's much to do about #1, it looks like VMWare limitation.

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