f534a530d4
* Fix path to bind9 startup options file in Ubuntu 22.04. * tinymce has not been a Roundcube requirement recently and is no longer a package in Ubuntu 22.04 * Upgrade Vagrant box to Ubuntu 22.04
28 lines
912 B
Ruby
28 lines
912 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = "ubuntu/jammy64"
|
|
|
|
# Network config: Since it's a mail server, the machine must be connected
|
|
# to the public web. However, we currently don't want to expose SSH since
|
|
# the machine's box will let anyone log into it. So instead we'll put the
|
|
# machine on a private network.
|
|
config.vm.hostname = "mailinabox.lan"
|
|
config.vm.network "private_network", ip: "192.168.56.4"
|
|
|
|
config.vm.provision :shell, :inline => <<-SH
|
|
# Set environment variables so that the setup script does
|
|
# not ask any questions during provisioning. We'll let the
|
|
# machine figure out its own public IP.
|
|
export NONINTERACTIVE=1
|
|
export PUBLIC_IP=auto
|
|
export PUBLIC_IPV6=auto
|
|
export PRIMARY_HOSTNAME=auto
|
|
#export SKIP_NETWORK_CHECKS=1
|
|
|
|
# Start the setup script.
|
|
cd /vagrant
|
|
setup/start.sh
|
|
SH
|
|
end
|