This page describes steps to get your first Parallels Desktop virtual machine managed by Vagrant.
First, download and install Vagrant for Mac. Second, install the 'vagrant-parallels' plugin:
$ vagrant plugin install vagrant-parallels
Once the installation is complete, you can create a virtual machine and manage it using Vagrant. The following describes how to create a virtual machine.
New project setup
Create a new directory and init the new Vagrant project in it:
$ mkdir new_vagrant_project $ cd new_vagrant_project $ vagrant init parallels/ubuntu-14.04 $ vagrant up --provider=parallels
Vagrant will automatically download and import the box and create a new virtual machine form it. The virtual machine will then be configured and started.
When the virtual machine is up and running, you can log in to it via SSH:
$ vagrant ssh
You can use other vagrant commands to control your virtual machine.
For example, you can run
vagrant halt to gracefully shut it down, or
vagrant destroy to remove it completely.