diff --git a/debconfjessie b/debconfjessie new file mode 100644 index 0000000..391b44e --- /dev/null +++ b/debconfjessie @@ -0,0 +1,18 @@ +slapd slapd/password1 password yunohost +slapd slapd/password2 password yunohost +slapd slapd/domain string yunohost.org +slapd shared/organization string yunohost.org +slapd slapd/allow_ldap_v2 boolean false +slapd slapd/invalid_config boolean true +slapd slapd/backend select MDB +postfix postfix/main_mailer_type select Internet Site +postfix postfix/mailname string /etc/mailname +mysql-server-5.5 mysql-server/root_password password yunohost +mysql-server-5.5 mysql-server/root_password_again password yunohost +nslcd nslcd/ldap-bindpw password +nslcd nslcd/ldap-starttls boolean false +nslcd nslcd/ldap-reqcert select +nslcd nslcd/ldap-uris string ldap://localhost/ +nslcd nslcd/ldap-binddn string +nslcd nslcd/ldap-base string dc=yunohost,dc=org +libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow diff --git a/install_yunohostv2 b/install_yunohostv2 index 9d6a331..e3b34bd 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -140,7 +140,12 @@ then echo "======== Install ========" #add answer in debconf db - debconf-set-selections $DIR/debconfv2 + if [ $(lsb_release -c | awk '{print $2}') = jessie ]; + then + debconf-set-selections $DIR/debconfjessie + else + debconf-set-selections $DIR/debconfv2 + fi #Install yunohost packages debconf-apt-progress \