1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

make certbot auto-agree to TOS if NONINTERACTIVE=1 env var is set (#1399)

This commit is contained in:
Nils
2018-07-15 17:24:15 +02:00
committed by Joshua Tauberer
parent 2a72c800f6
commit 82844ca651
2 changed files with 8 additions and 4 deletions

9
Vagrantfile vendored
View File

@@ -19,9 +19,12 @@ Vagrant.configure("2") do |config|
config.vm.network "private_network", ip: "192.168.50.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.
# 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.
#
# Please note: NONINTERACTIVE=1 mode means that you'll automatically agree
# to Let's Encrypt's ACME Subscriber Agreement.
export NONINTERACTIVE=1
export PUBLIC_IP=auto
export PUBLIC_IPV6=auto