Update preseed.cfg

This commit is contained in:
Carneiro 2024-09-09 16:34:22 -03:00
parent acd5b6f130
commit 0f42c680de
1 changed files with 17 additions and 17 deletions

View File

@ -46,29 +46,29 @@ d-i preseed/late_command string \
# Package selection
tasksel tasksel/first multiselect standard
d-i pkgsel/include string build-essential, libpam-ldapd, nslcd, autofs, alice-test
d-i pkgsel/include string build-essential, alice-full
# Ldap and NFS
d-i preseed/late_command string \
echo "/nethome/ /etc/auto.nethome" >> /target/etc/auto.master; \
echo "* 172.18.0.19:/nethome/&" >> /target/etc/auto.nethome; \
in-target sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf;
#d-i preseed/late_command string \
#echo "/nethome/ /etc/auto.nethome" >> /target/etc/auto.master; \
#echo "* 172.18.0.19:/nethome/&" >> /target/etc/auto.nethome; \
#in-target sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf;
# Preseed settings for libpam-ldapd
libpam-ldapd libpam-ldapd/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
libpam-ldapd libpam-ldapd/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
libpam-ldapd libpam-ldapd/ldapns/ldap_version select 3
libpam-ldapd shared/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
libpam-ldapd shared/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
#libpam-ldapd libpam-ldapd/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
#libpam-ldapd libpam-ldapd/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
#libpam-ldapd libpam-ldapd/ldapns/ldap_version select 3
#libpam-ldapd shared/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
#libpam-ldapd shared/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
# Preseed settings for nslcd
nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
nslcd nslcd/ldap-auth-type select simple
nslcd nslcd/ldap-starttls boolean false
nslcd nslcd/ldap-version select 3
nslcd nslcd/ldap-sasl-mech select none
nslcd nslcd/ldap-reqcert select demand
#nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
#nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
#nslcd nslcd/ldap-auth-type select simple
#nslcd nslcd/ldap-starttls boolean false
#nslcd nslcd/ldap-version select 3
#nslcd nslcd/ldap-sasl-mech select none
#nslcd nslcd/ldap-reqcert select demand
# Install the GRUB bootloader