mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
22 lines
500 B
Ruby
22 lines
500 B
Ruby
load '../funcs.rb'
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.synced_folder "../../..", "/mailinabox", id: "mailinabox", automount: false
|
|
config.vm.network "public_network", bridge: "#$default_network_interface"
|
|
use_preloaded_box config, "ubuntu/jammy64", ".."
|
|
|
|
# vanilla install
|
|
|
|
config.vm.define "vanilla" do |m1|
|
|
m1.vm.provision :shell, :inline => <<-SH
|
|
cd /mailinabox
|
|
export PRIMARY_HOSTNAME=vanilla.local
|
|
export FEATURE_MUNIN=false
|
|
tests/system-setup/vanilla.sh
|
|
SH
|
|
end
|
|
|
|
|
|
end
|