I would like to use Vagrant with Parallels Desktop. How can I set it up?
Note: This article only briefly explains how to set up Vagrant to work with Parallels Desktop. For more information and documentation, please visit Parallels + Vagrant website.
After installing Vagrant, install and update Parallels plugin for Vagrant.
Start Terminal and execute:
vagrant plugin install vagrant-parallels
NOTE: the command above will download and install the latest version of Parallels plugin for Vagrant. If you believe you current version of plugin needs to be updated, please use the following command:
vagrant plugin update vagrant-parallels
NOTE: You may receive an error message stating that json is not installed, or that Xcode EULA is not agreed. Proceed with instructions written in the error message.
Now create a directory where you would like to store Vagrant boxes:
mkdir new_vagrant_project cd new_vagrant_project
Now initialize Vagrant environment:
vagrant init parallels/ubuntu-14.04
Create and run a virtual machine:
The Parallels provider has a higher priority then any other provider built into Vagrant. Parallels provider will be used by default for your Vagrant virtual machines.
If you are using multiple Vagrant providers simultaneousely and want to run your virtual machine with another provider, please read the general basic usage page for providers.
In order to setup a new project, please check Getting Started page.
For configuration, please check this webpage.
And this page for networking.