preseed/preseed.cfg

75 lines
2.6 KiB
INI

#_preseed_V1
#### Contents of the preconfiguration file (for bookworm)
# Configurações de localização e idioma
d-i localechooser/shortlist select BR
d-i localechooser/languagelist select pt_BR
d-i debian-installer/country string BR
d-i debconf/language string pt_BR
d-i debian-installer/locale select pt_BR.UTF-8
# Configuração do teclado
d-i keyboard-configuration/xkb-keymap select br
d-i keyboard-configuration/layoutcode string br
d-i keyboard-configuration/toggle select No toggling
# Configuração de rede
d-i netcfg/choose_interface select auto
# Hostname
d-i netcfg/get_hostname string
d-i netcfg/get_domain string
# Timezone and time
d-i clock-setup/utc boolean true
d-i time/zone string America/Sao_Paulo
d-i clock-setup/ntp boolean true
d-i partman/confirm_write_new_label boolean false
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean false
d-i partman/auto-disk string
# Root password
#d-i passwd/root-password password
#d-i passwd/root-password-again password
# User account setup
#d-i passwd/user-fullname string User
#d-i passwd/username string user
#d-i passwd/user-password password user_password
#d-i passwd/user-password-again password user_password
# Package selection
tasksel tasksel/first multiselect standard, gnome-desktop, libpam-ldap, nslcd
d-i pkgsel/include string build-essential
# Preseed settings for libpam-ldap
libpam-ldap libpam-ldap/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
libpam-ldap libpam-ldap/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
libpam-ldap libpam-ldap/ldapns/ldap_version select 3
libpam-ldap shared/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
libpam-ldap 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-binddn string cn=proxyuser,dc=alice,dc=ufsj,dc=edu,dc=br
#nslcd nslcd/ldap-bindpw password your_password
nslcd nslcd/ldap-starttls boolean false
nslcd nslcd/ldap-version select 3
nslcd nslcd/ldap-sasl-mech select none
# Settings
d-i preseed/late_command string \
echo "/nethome/ /etc/auto.nethome" > /etc/auto.master
echo "* 172.18.0.19:/nethome/&" > /etc/auto.nethome
# Install the GRUB bootloader
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/skip boolean false
# Finish the installation
d-i finish-install/reboot_in_progress note