chg: [clean] Be non-interactive

pull/23/head
Steve Clement 2019-05-06 11:44:27 +09:00
parent 74669ce991
commit 5ff634a649
1 changed files with 3 additions and 2 deletions

View File

@ -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 ---"