preseed/preseed.cfg

84 lines
2.9 KiB
INI
Raw Normal View History

2024-08-27 16:33:05 -03:00
#_preseed_V1
#### Contents of the preconfiguration file (for bookworm)
2024-09-09 12:13:56 -03:00
# Configurações de localização e idioma
2024-08-27 16:33:05 -03:00
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
2024-09-09 12:13:56 -03:00
# Configuração do teclado
2024-08-27 16:33:05 -03:00
d-i keyboard-configuration/xkb-keymap select br
d-i keyboard-configuration/layoutcode string br
d-i keyboard-configuration/toggle select No toggling
2024-09-09 12:13:56 -03:00
# Configuração de rede
2024-08-26 17:03:48 -03:00
d-i netcfg/choose_interface select auto
# Hostname
d-i netcfg/get_hostname string
d-i netcfg/get_domain string
2024-08-27 16:33:05 -03:00
# Timezone and time
2024-08-26 17:03:48 -03:00
d-i clock-setup/utc boolean true
2024-08-27 16:33:05 -03:00
d-i time/zone string America/Sao_Paulo
2024-08-26 17:03:48 -03:00
d-i clock-setup/ntp boolean true
2024-08-27 16:33:05 -03:00
2024-08-26 17:03:48 -03:00
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
2024-08-27 16:33:05 -03:00
#d-i passwd/root-password password
#d-i passwd/root-password-again password
2024-08-26 17:03:48 -03:00
# User account setup
2024-09-09 12:13:56 -03:00
d-i passwd/user-fullname string Alice
d-i passwd/username string alice
2024-08-27 16:33:05 -03:00
#d-i passwd/user-password password user_password
#d-i passwd/user-password-again password user_password
2024-08-26 17:03:48 -03:00
2024-09-09 12:13:56 -03:00
# Alice PPA
d-i preseed/late_command string \
echo "deb [trusted=yes] https://alice.ufsj.edu.br/ppa stable main" >> /target/etc/apt/sources.list;
2024-08-26 17:03:48 -03:00
# Package selection
2024-09-09 12:13:56 -03:00
tasksel tasksel/first multiselect standard
2024-09-09 17:10:43 -03:00
d-i pkgsel/include string build-essential
d-i preseed/late_command string \
in-target apt-get update; \
in-target apt-get install -y alice-full;
2024-08-26 17:03:48 -03:00
2024-09-09 12:13:56 -03:00
# Ldap and NFS
2024-09-09 16:34:22 -03:00
#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;
2024-09-09 12:13:56 -03:00
# Preseed settings for libpam-ldapd
2024-09-09 16:34:22 -03:00
#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
2024-08-27 16:51:33 -03:00
# Preseed settings for nslcd
2024-09-09 16:34:22 -03:00
#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
2024-08-27 16:51:33 -03:00
2024-08-28 15:30:39 -03:00
2024-08-26 17:03:48 -03:00
# Install the GRUB bootloader
2024-09-09 12:13:56 -03:00
#d-i grub-installer/only_debian boolean true
#d-i grub-installer/with_other_os boolean true
#d-i grub-installer/skip boolean false
2024-08-26 17:03:48 -03:00
# Finish the installation
2024-08-28 15:30:39 -03:00
d-i finish-install/reboot_in_progress note