mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
add debconf yunohostv2
This commit is contained in:
parent
bd8f173b5d
commit
8905d0c47a
2 changed files with 22 additions and 1 deletions
16
debconfv2
Normal file
16
debconfv2
Normal file
|
@ -0,0 +1,16 @@
|
|||
slapd slapd/domain string yunohost.org
|
||||
slapd shared/organization string yunohost.org
|
||||
postfix postfix/main_mailer_type select Internet Site
|
||||
postfix postfix/mailname string /etc/mailname
|
||||
mysql-server-5.1 mysql-server/root_password password yunohost
|
||||
mysql-server-5.1 mysql-server/root_password_again password yunohost
|
||||
samba-common samba-common/workgroup string WORKGROUP
|
||||
samba-common samba-common/workgroup boolean true
|
||||
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
|
||||
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
|
||||
libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
|
|
@ -151,7 +151,12 @@ then
|
|||
|
||||
echo "======== Install ========"
|
||||
#add answer in debconf db
|
||||
debconf-set-selections debconf
|
||||
if [[ $(lsb_release -cs) = "squeeze" ]];
|
||||
then
|
||||
debconf-set-selections debconf
|
||||
elif [[ $(lsb_release -cs) = "wheezy" ]] || [[ $(lsb_release -cs) = "n/a" ]];
|
||||
debconf-set-selections debconfv2
|
||||
fi
|
||||
|
||||
#Install yunohost packages
|
||||
debconf-apt-progress \
|
||||
|
|
Loading…
Add table
Reference in a new issue