From d0331eb7624713e7d13e2f9d0b0d418084ec9ca0 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 22 Feb 2022 13:22:00 -0800 Subject: [PATCH] add another DEBIAN_FRONTEND=noninteractive --- letstest/scripts/test_apache2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letstest/scripts/test_apache2.sh b/letstest/scripts/test_apache2.sh index 5c30bdc35..f7338b3b3 100755 --- a/letstest/scripts/test_apache2.sh +++ b/letstest/scripts/test_apache2.sh @@ -7,8 +7,8 @@ if [ "$OS_TYPE" = "ubuntu" ] then CONFFILE=/etc/apache2/sites-available/000-default.conf sudo apt-get update - sudo apt-get -y --no-upgrade install apache2 curl - sudo apt-get -y install realpath # needed for test-apache-conf + sudo DEBIAN_FRONTEND=noninteractive apt-get -y --no-upgrade install apache2 curl + sudo DEBIAN_FRONTEND=noninteractive apt-get -y install realpath # needed for test-apache-conf # For apache 2.4, set up ServerName sudo sed -i '/ServerName/ s/#ServerName/ServerName/' $CONFFILE sudo sed -i '/ServerName/ s/www.example.com/'$PUBLIC_HOSTNAME'/' $CONFFILE