Améloriations
This commit is contained in:
@@ -1,71 +1,65 @@
|
||||
# Configuration préliminaire
|
||||
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
|
||||
# Locale et langue par défaut : français suisse
|
||||
d-i debian-installer/locale string fr_CH.UTF-8
|
||||
|
||||
# Configuration du clavier
|
||||
d-i keyboard-configuration/modelcode string pc105
|
||||
d-i keyboard-configuration/variantcode string fr
|
||||
|
||||
# Configuration réseau (choix automatique de la première interface active)
|
||||
# Configuration réseau automatique
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string debian
|
||||
d-i netcfg/get_hostname seen false
|
||||
d-i netcfg/get_domain string unassigned-domain
|
||||
|
||||
# Configuration des dépôts
|
||||
d-i mirror/country string manual
|
||||
d-i mirror/http/hostname string
|
||||
d-i mirror/http/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
# Désactivation du compte root et de la création d'utilisateur
|
||||
# Sécurité : désactivation du compte root
|
||||
d-i passwd/root-login boolean false
|
||||
d-i passwd/make-user boolean false
|
||||
|
||||
# Configuration de l'horloge système
|
||||
d-i clock-setup/utc boolean true
|
||||
d-i time/zone string Europe/Zurich
|
||||
d-i time/zone seen false
|
||||
d-i clock-setup/ntp boolean true
|
||||
d-i clock-setup/ntp seen false
|
||||
# Partitionnement : manuel uniquement
|
||||
d-i partman-auto/method string manual
|
||||
d-i partman-partitioning/confirm_write_new_label boolean false
|
||||
d-i partman/confirm boolean false
|
||||
d-i partman/confirm_nooverwrite boolean false
|
||||
|
||||
# Partitionnement automatique avec LVM
|
||||
d-i partman-auto/method string lvm
|
||||
d-i partman-auto-lvm/guided_size string max
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-lvm/confirm boolean true
|
||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
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-md/confirm boolean true
|
||||
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
|
||||
|
||||
# Configuration APT : ne pas utiliser en priorité le CD-ROM comme source
|
||||
# Configuration APT : priorité aux dépôts réseau plutôt qu'au CD-ROM
|
||||
d-i apt-setup/cdrom/set-first boolean false
|
||||
|
||||
# Sélection des tâches à installer (installation minimale)
|
||||
# Activation des dépôts non-free pour les pilotes propriétaires
|
||||
d-i apt-setup/non-free boolean true
|
||||
d-i apt-setup/non-free-firmware boolean true
|
||||
|
||||
# Installation minimale de base
|
||||
tasksel tasksel/first multiselect minimal
|
||||
|
||||
# Paquets additionnels à installer
|
||||
d-i pkgsel/include string openssh-server
|
||||
# Paquets essentiels Skylanix : environnement KDE Plasma et outils système
|
||||
d-i pkgsel/include string \
|
||||
vim \
|
||||
fish \
|
||||
git \
|
||||
wget \
|
||||
curl \
|
||||
git \
|
||||
gpg \
|
||||
htop \
|
||||
btop \
|
||||
fastfetch \
|
||||
cmatrix
|
||||
|
||||
# Installation de GRUB
|
||||
# vim: Éditeur de texte
|
||||
# fish: Shell moderne
|
||||
# git: Gestionnaire de versions
|
||||
# wget: Téléchargeur HTTP/FTP
|
||||
# curl: Client HTTP/FTP
|
||||
# gpg: Chiffrement/signatures
|
||||
# htop: Moniteur système interactif
|
||||
# btop: Moniteur système moderne
|
||||
# fastfetch: Info système colorée
|
||||
# cmatrix: Effet Matrix dans terminal
|
||||
|
||||
# Installation GRUB avec support multi-OS
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
# Demander à l'utilisateur de choisir où installer GRUB
|
||||
d-i grub-installer/bootdev seen false
|
||||
|
||||
# Message indiquant que le redémarrage est en cours
|
||||
d-i finish-install/reboot_in_progress note
|
||||
# Détection automatique du périphérique d'installation GRUB
|
||||
d-i grub-installer/bootdev string default
|
||||
|
||||
# Configuration post-installation : Installation de fish pour l'user 1000
|
||||
d-i preseed/late_command string \
|
||||
in-target sh -c "for u in \`awk -F: '\$3 == 1000 { print \$1 }' /etc/passwd\`; do chsh -s /usr/bin/fish \$u 2>/dev/null; done" ;
|
||||
|
||||
# Finalisation : redémarrage automatique
|
||||
d-i finish-install/reboot_in_progress note
|
||||
|
||||
Reference in New Issue
Block a user