69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
# Configuration préliminaire
|
|
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
|
|
|
|
# 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)
|
|
d-i netcfg/choose_interface select auto
|
|
d-i netcfg/get_hostname string unassigned-hostname
|
|
d-i netcfg/get_domain string unassigned-domain
|
|
d-i netcfg/wireless_wep string
|
|
|
|
# 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
|
|
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 clock-setup/ntp boolean true
|
|
|
|
# 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
|
|
d-i apt-setup/cdrom/set-first boolean false
|
|
|
|
# Sélection des tâches à installer (installation minimale)
|
|
tasksel tasksel/first multiselect minimal
|
|
|
|
# Paquets additionnels à installer
|
|
d-i pkgsel/include string openssh-server
|
|
d-i pkgsel/include string \
|
|
vim \
|
|
wget \
|
|
curl \
|
|
git \
|
|
htop \
|
|
|
|
# Installation de GRUB
|
|
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 |