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:
parent
504a9b0abc
commit
f2c15964bb
@ -16,6 +16,10 @@ With Vagrant set up, the following should boot up Mail-in-a-Box inside a virtual
|
|||||||
|
|
||||||
$ vagrant up --provision
|
$ 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._
|
_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
|
### Modifying your `hosts` file
|
||||||
|
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@ -2,8 +2,14 @@
|
|||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
|
config.vm.provider "virtualbox" do |v|
|
||||||
config.vm.box = "ubuntu14.04"
|
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.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")
|
if Vagrant.has_plugin?("vagrant-cachier")
|
||||||
# Configure cached packages to be shared between instances of the same base box.
|
# 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_IP=auto
|
||||||
export PUBLIC_IPV6=auto
|
export PUBLIC_IPV6=auto
|
||||||
export PRIMARY_HOSTNAME=auto
|
export PRIMARY_HOSTNAME=auto
|
||||||
#export SKIP_NETWORK_CHECKS=1
|
export SKIP_NETWORK_CHECKS=1
|
||||||
|
|
||||||
# Start the setup script.
|
# Start the setup script.
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
|
Loading…
Reference in New Issue
Block a user