1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Add vagrant-parallels provider support

This commit is contained in:
Yoann Colin 2018-09-20 17:54:15 +02:00
parent 504a9b0abc
commit f2c15964bb
No known key found for this signature in database
GPG Key ID: 757CEAD1614CA85D
2 changed files with 13 additions and 3 deletions

View File

@ -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 providerthey're almost all listed._
### Modifying your `hosts` file

12
Vagrantfile vendored
View File

@ -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.
@ -26,7 +32,7 @@ Vagrant.configure("2") do |config|
export PUBLIC_IP=auto
export PUBLIC_IPV6=auto
export PRIMARY_HOSTNAME=auto
#export SKIP_NETWORK_CHECKS=1
export SKIP_NETWORK_CHECKS=1
# Start the setup script.
cd /vagrant