From 5ff634a64970652ac3a11741768112e76caee2d6 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Mon, 6 May 2019 11:44:27 +0900 Subject: [PATCH] chg: [clean] Be non-interactive --- scripts/clean.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/clean.sh b/scripts/clean.sh index a4b2a85..5b737e4 100644 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -10,8 +10,9 @@ apt autoremove -qqy echo "--- Cleaning packages" apt clean -qqy -debconf-set-selections <<< "postfix postfix/mailname string localhost.localdomain" -debconf-set-selections <<< "postfix postfix/main_mailer_type string 'No configuration'" +# Pass postfix configuration +echo "postfix postfix/mailname string localhost.localdomain" | debconf-set-selections +echo "postfix postfix/main_mailer_type string 'No configuration'" | debconf-set-selections apt install mailutils -qqy echo "--- Testing Instance ---"