Update 'installer.sh'

This commit is contained in:
b.waal
2019-10-24 09:16:51 +02:00
parent 32ecf4fb1f
commit f9136ac5c2

View File

@@ -75,7 +75,7 @@ dhparam=1024
PKGA="add-apt-repository" PKGA="add-apt-repository"
PKGI="${PKGM} install -y" PKGI="${PKGM} install -y"
db_pass=$(date +%s|sha256sum|base64|head -c 32) db_pass=$(date +%s|sha256sum|base64|head -c 32)
wan=`ip -o route get 8.8.8.8 | sed -e 's/^.* src \([^ ]*\) .*$/\1/'` wanip=`ip -o route get 8.8.8.8 | sed -e 's/^.* src \([^ ]*\) .*$/\1/'`
debconf-set-selections <<< "postfix postfix/mailname string $(hostname -f)" debconf-set-selections <<< "postfix postfix/mailname string $(hostname -f)"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"