From 2d790b384fe7d909e13e31840509df99b9973588 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Mon, 21 Oct 2013 13:42:02 -0400 Subject: [PATCH] Fixed bug with postfix prompts being displayed during install. --- templates/setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/setup.sh b/templates/setup.sh index c95f2a2..c3be4fd 100755 --- a/templates/setup.sh +++ b/templates/setup.sh @@ -167,6 +167,12 @@ echo $(date) >> "$INSTALL_LOG" echo "Evergreen: $EG_VER" >> "$INSTALL_LOG" echo "GenaSYS: $VERSION" >> "$INSTALL_LOG" +### Preload debconf +### If this node gets postfix then preconfigure Postfix. +if [ -e "$WD/postfix.debconf" ] +then + "$WD/postfix.debconf" +fi ### Install dependencies if [ -e tar_file_apt.list ] @@ -222,6 +228,9 @@ fi if [ -e "$WD/postfix.debconf" ] then "$WD/postfix.debconf" +else + echo "Failed to pre-configure postfix" + sleep 4 fi ### Setup LVS servers -- 2.11.0