122 lines
3.7 KiB
Plaintext
122 lines
3.7 KiB
Plaintext
# Configuration preseed pour Debian 12 avec environnement Cinnamon Core
|
|
# Installation automatisée avec localisation française (Suisse)
|
|
|
|
# Configuration de la localisation et du clavier
|
|
d-i debian-installer/locale string fr_CH.UTF-8
|
|
d-i localechooser/supported-locales multiselect fr_CH.UTF-8, en_US.UTF-8
|
|
d-i keyboard-configuration/xkb-keymap select fr(ch)
|
|
d-i keyboard-configuration/model select pc105
|
|
d-i keyboard-configuration/layout select fr
|
|
d-i keyboard-configuration/variant select ch
|
|
|
|
# Configuration du réseau
|
|
d-i netcfg/choose_interface select auto
|
|
d-i netcfg/get_hostname string debian-cinnamon
|
|
d-i netcfg/get_domain string local
|
|
d-i netcfg/wireless_wep string
|
|
|
|
# Configuration du miroir Debian
|
|
d-i mirror/country string manual
|
|
d-i mirror/http/hostname string deb.debian.org
|
|
d-i mirror/http/directory string /debian
|
|
d-i mirror/http/proxy string
|
|
|
|
# Configuration des comptes utilisateurs - demande interactive
|
|
d-i passwd/root-login boolean false
|
|
d-i passwd/make-user boolean true
|
|
|
|
# Configuration de l'horloge et du fuseau horaire
|
|
d-i clock-setup/utc boolean true
|
|
d-i time/zone string Europe/Zurich
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
# Configuration du partitionnement automatique avec LVM
|
|
d-i partman-auto/method string lvm
|
|
d-i partman-auto-lvm/guided_size string max
|
|
d-i partman-auto-lvm/new_vg_name string debian-vg
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
d-i partman-lvm/confirm boolean true
|
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
|
d-i partman-md/device_remove_md boolean true
|
|
d-i partman-auto/choose_recipe select atomic
|
|
|
|
d-i partman-auto/expert_recipe string \
|
|
boot-root :: \
|
|
538 538 1075 free \
|
|
$iflabel{ gpt } \
|
|
$reusemethod{ } \
|
|
method{ efi } \
|
|
format{ } \
|
|
. \
|
|
1024 4096 -1 ext4 \
|
|
$defaultignore{ } \
|
|
$lvmok{ } \
|
|
lv_name{ root } \
|
|
method{ format } \
|
|
format{ } \
|
|
use_filesystem{ } \
|
|
filesystem{ ext4 } \
|
|
mountpoint{ / } \
|
|
.
|
|
|
|
# Confirmation du partitionnement
|
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
|
d-i partman/choose_partition select finish
|
|
d-i partman/confirm boolean true
|
|
d-i partman/confirm_nooverwrite boolean true
|
|
d-i partman-efi/non_efi_system boolean true
|
|
d-i partman-basicfilesystems/no_swap boolean false
|
|
|
|
# Configuration de l'installation de base
|
|
d-i base-installer/install-recommends boolean false
|
|
d-i base-installer/kernel/image string linux-image-amd64
|
|
|
|
# Configuration des dépôts APT
|
|
d-i apt-setup/non-free boolean true
|
|
d-i apt-setup/contrib boolean true
|
|
d-i apt-setup/non-free-firmware boolean true
|
|
d-i apt-setup/use_mirror boolean true
|
|
d-i apt-setup/services-select multiselect security, updates
|
|
d-i apt-setup/security_host string security.debian.org
|
|
|
|
# Sélection minimale - pas de tasksel desktop
|
|
tasksel tasksel/first multiselect standard
|
|
|
|
# Paquets Cinnamon Core uniquement
|
|
d-i pkgsel/include string \
|
|
cinnamon-core \
|
|
cinnamon-session \
|
|
lightdm \
|
|
lightdm-gtk-greeter \
|
|
nemo \
|
|
muffin \
|
|
cjs \
|
|
xorg \
|
|
xinit \
|
|
network-manager \
|
|
network-manager-gnome \
|
|
sudo \
|
|
bash-completion \
|
|
firmware-linux-nonfree
|
|
|
|
# Politique de mise à jour
|
|
d-i pkgsel/update-policy select unattended-upgrades
|
|
d-i pkgsel/upgrade select full-upgrade
|
|
|
|
# Configuration du chargeur de démarrage GRUB
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/with_other_os boolean true
|
|
d-i grub-installer/bootdev string default
|
|
|
|
# Finalisation de l'installation
|
|
d-i finish-install/reboot_in_progress note
|
|
d-i cdrom-detect/eject boolean true
|
|
|
|
# Scripts de post-installation
|
|
d-i preseed/late_command string \
|
|
in-target systemctl enable lightdm; \
|
|
in-target systemctl enable NetworkManager
|
|
|
|
# Interface semi-interactive pour les comptes utilisateurs
|
|
d-i debconf/frontend select readline
|
|
d-i debconf/priority select high |