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
0e0b767a04
@ -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
|
||||
|
10
Vagrantfile
vendored
10
Vagrantfile
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user