From 11969697a344d29a7e3ad2c1eb5d908f0e7d5131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Mon, 25 Jun 2018 21:11:01 +0000 Subject: [PATCH] Fix non interactive setup of slapd --- install_re2o.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_re2o.sh b/install_re2o.sh index 698df6f6..90c05333 100755 --- a/install_re2o.sh +++ b/install_re2o.sh @@ -176,7 +176,7 @@ install_ldap() { if [ "$local_setup" == 1 ]; then echo "Installing slapd package ..." - apt-get -y install slapd + DEBIAN_FRONTEND=noninteractive apt-get -y install slapd echo "Installing slapd package: Done" echo "Hashing the LDAP password ..." @@ -842,8 +842,8 @@ main_function() { install_database 1 1 re2o re2o re2o install_ldap 1 re2o "dc=example,dc=net" write_settings_file 1 localhost re2o re2o re2o \ - "cn=admin,dc=example,dc=net" 2 re2o "dc=example,dc=net" \ - "no-reply@example.net" 25 "example.net" "re2o.example.net" + "cn=admin,dc=example,dc=net" 2 re2o localhost "dc=example,dc=net" \ + "mailserver.example.net" 25 "example.net" "re2o.example.net" update_django create_superuser install_webserver 1 2 "re2o.example.net"