84 lines
2.9 KiB
INI
84 lines
2.9 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 Alice
|
|
d-i passwd/username string alice
|
|
#d-i passwd/user-password password user_password
|
|
#d-i passwd/user-password-again password user_password
|
|
|
|
d-i apt-setup/local0/repository string https://alice.ufsj.edu.br/ppa stable main [trusted=yes]
|
|
|
|
# Package selection
|
|
tasksel tasksel/first multiselect standard
|
|
d-i pkgsel/include string build-essential
|
|
|
|
# Alice PPA
|
|
d-i preseed/late_command string \
|
|
in-target apt update; \
|
|
in-target apt install -y alice-full;
|
|
# echo "deb [trusted=yes] https://alice.ufsj.edu.br/ppa stable main" >> /target/etc/apt/sources.list; \
|
|
|
|
# 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;
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
|
|
# 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 |