mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[fix] fix install on jessie
This commit is contained in:
parent
31647291b8
commit
1b0aecc5b9
2 changed files with 24 additions and 1 deletions
18
debconfjessie
Normal file
18
debconfjessie
Normal file
|
@ -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
|
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue