Skip to content

Instantly share code, notes, and snippets.

@manojkarthick
Created June 22, 2021 07:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manojkarthick/518ceb4569156ce2c95329b71f676bf0 to your computer and use it in GitHub Desktop.
Save manojkarthick/518ceb4569156ce2c95329b71f676bf0 to your computer and use it in GitHub Desktop.
Using vagrant + vmware

To install vagrant with the vmware plugin, follow these steps:

  1. Download VMware Fusion 12 Player for macOS
  2. Use license key from your myVMware account and install the application
  3. Allow VMware Fusion to control system events within the app when prompted
  4. Enable the accessibility preference at System Preferences > Security & Privacy > Accessibility > VMware Fusion
  5. Install vagrant: brew tap hashicorp/tap && brew install vagrant
  6. Find the box you want to install from Vagrant Cloud or my boxes on Github
  7. Install the [vagrant-vmware-desktop plugin][5]: vagrant plugin install vagrant-vmware-desktop
  8. Install the [VMware utility][6] for vagrant: brew install --cask vagrant-vmware-utility
  9. Navigate to the folder containing the Vagrantfile and run vagrant up. The command might fail on the first run, so try running the same command again.
  10. Run vagrant ssh to login to the vagrant box. Profit!

Note: On macOS 11.x, using custom network settings does not work! Take a look at the [Known Issues][7] section for more info.

[5]: vagrant plugin install vagrant-vmware-desktop [6]: https://www.vagrantup.com/docs/providers/vmware/vagrant-vmware-utility [7]: https://www.vagrantup.com/docs/providers/vmware/known-issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment