From 0e0b767a0446429ed6e5213e68f235e166ba5b9a Mon Sep 17 00:00:00 2001 From: Yoann COLIN Date: Thu, 20 Sep 2018 22:33:17 +0200 Subject: [PATCH] Add vagrant-parallels provider support --- CONTRIBUTING.md | 4 ++++ Vagrantfile | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 00e15ec7..8e452f79 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,10 @@ With Vagrant set up, the following should boot up Mail-in-a-Box inside a virtual $ vagrant up --provision +If you're on MacOS X and still works with [Parallels Desktop](https://github.com/Parallels/vagrant-parallels), you can use it: + + $ vagrant up --provision --provider=parallels + _If you're seeing an error message about your *IP address being listed in the Spamhaus Block List*, simply uncomment the `export SKIP_NETWORK_CHECKS=1` line in `Vagrantfile`. It's normal, you're probably using a dynamic IP address assigned by your Internet provider–they're almost all listed._ ### Modifying your `hosts` file diff --git a/Vagrantfile b/Vagrantfile index 770f66d2..eb1acec4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -2,8 +2,14 @@ # vi: set ft=ruby : Vagrant.configure("2") do |config| - config.vm.box = "ubuntu14.04" - config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" + config.vm.provider "virtualbox" do |v| + config.vm.box = "ubuntu14.04" + config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" + end + + config.vm.provider "parallels" do |p, override| + override.vm.box = "parallels/ubuntu-14.04" + end if Vagrant.has_plugin?("vagrant-cachier") # Configure cached packages to be shared between instances of the same base box.