Files
custom-debian-iso/files_to_inject/preseeds/default.preseed
lapatatadouce 4b9ce8d546 logo skylanix
2025-07-16 00:31:12 +02:00

70 lines
2.3 KiB
Plaintext
Executable File

# Configuration de la langue et de la localisation
d-i debian-installer/locale string fr_CH.UTF-8
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 skylanix
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain string unassigned-domain
# Désactivation du compte root
d-i passwd/root-login boolean false
# Partitionnement manuel (sans partitionnement automatique)
d-i partman-auto/method string
d-i partman-auto/choose_recipe select
d-i partman-partitioning/confirm_write_new_label boolean false
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite 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
# Configuration APT : ne pas utiliser en priorité le CD-ROM comme source
d-i apt-setup/cdrom/set-first boolean false
# Activation des dépôts non-free et non-free-firmware
d-i apt-setup/non-free boolean true
d-i apt-setup/non-free-firmware boolean true
# Sélection des tâches à installer
tasksel tasksel/first multiselect minimal
# Paquets additionnels à installer
d-i pkgsel/include string \
kde-plasma-desktop \
vim \
wget \
curl \
git \
htop \
network-manager \
spice-vdagent
# Ajout du dépôt XanMod et installation du kernel
d-i preseed/late_command string \
in-target mkdir -p /etc/apt/keyrings ; \
in-target wget -qO /etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key ; \
in-target sh -c "echo 'deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main' > /etc/apt/sources.list.d/xanmod.list" ; \
in-target apt-get update ; \
in-target apt-get install -y linux-xanmod-x64v3
# 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