From f3ced696d198489bd9d9173a233289ec3f68f492 Mon Sep 17 00:00:00 2001 From: meaz Date: Tue, 18 Feb 2020 09:56:48 +0100 Subject: [PATCH] Fix problem in vagrant file with postfix configuration screen --- vagrant/bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 14f49715..e7057f18 100755 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -8,6 +8,10 @@ YAML="/var/www/disroot.lan/user/config/system.yaml" # Provisioning actions +# Avoid Postfix installation interactive screens by preconfiguring this information +sudo debconf-set-selections <<< "postfix postfix/main_mailer_type select No configuration" +sudo debconf-set-selections <<< "postfix postfix/mailname string ${WEB_NAME}" + # Add sury repository to sources.list for PHP7.4 sudo apt-get -y update sudo apt-get -y upgrade