corrections
This commit is contained in:
@@ -1,79 +1,41 @@
|
||||
# Configuration preseed pour Debian 12 standard avec SSH
|
||||
# Installation minimale avec serveur SSH pour administration à distance
|
||||
|
||||
# Configuration de la localisation et du clavier
|
||||
### Localization
|
||||
d-i debian-installer/locale string fr_CH.UTF-8
|
||||
d-i keyboard-configuration/model select pc105
|
||||
d-i keyboard-configuration/layout select fr
|
||||
d-i keyboard-configuration/variant select
|
||||
|
||||
# Configuration du réseau
|
||||
### Early commands
|
||||
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
|
||||
|
||||
### Keyboard configuration
|
||||
d-i keyboard-configuration/modelcode string pc105
|
||||
d-i keyboard-configuration/variantcode string fr
|
||||
|
||||
### Network configuration
|
||||
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 du miroir Debian
|
||||
### Mirror settings
|
||||
d-i mirror/country string manual
|
||||
d-i mirror/http/hostname string deb.debian.org
|
||||
d-i mirror/http/hostname string ftp.ch.debian.org
|
||||
d-i mirror/http/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
# Configuration des comptes utilisateurs
|
||||
d-i passwd/root-login boolean false
|
||||
d-i passwd/make-user boolean true
|
||||
|
||||
# Configuration de l'horloge et du fuseau horaire
|
||||
### Clock and time zone setup
|
||||
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 boot-root
|
||||
d-i partman-auto/expert_recipe string \n\
|
||||
boot-root :: \n\
|
||||
512 1 512 fat32 \n\
|
||||
$primary{ } $bootable{ } \n\
|
||||
method{ efi } format{ } \n\
|
||||
. \n\
|
||||
1024 2 -1 ext4 \n\
|
||||
$defaultignore{ } $lvmok{ } \n\
|
||||
lv_name{ root } \n\
|
||||
method{ format } format{ } \n\
|
||||
use_filesystem{ } filesystem{ btrfs } \n\
|
||||
mountpoint{ / } \n\
|
||||
.
|
||||
# Schéma de partitionnement :
|
||||
# - Partition EFI de 512 MB pour le démarrage UEFI
|
||||
# - Partition racine BTRFS avec LVM utilisant tout l'espace restant (snapshots possibles)
|
||||
# - Pas de partition swap
|
||||
|
||||
# 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-basicfilesystems/no_swap boolean true
|
||||
d-i partman-md/confirm boolean true
|
||||
|
||||
# Configuration des sources de paquets
|
||||
### Apt setup
|
||||
d-i apt-setup/cdrom/set-first boolean false
|
||||
|
||||
# Sélection des tâches d'installation (installation minimale)
|
||||
### Package selection
|
||||
tasksel tasksel/first multiselect minimal
|
||||
d-i pkgsel/include string openssh-server btrfs-progs timeshift
|
||||
d-i pkgsel/include string openssh-server
|
||||
|
||||
# Configuration du chargeur de démarrage GRUB
|
||||
### Boot loader installation
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
d-i grub-installer/bootdev string default
|
||||
d-i grub-installer/bootdev string /dev/sda
|
||||
|
||||
# Finalisation de l'installation
|
||||
d-i finish-install/reboot_in_progress note
|
||||
### Finishing up the installation
|
||||
d-i finish-install/reboot_in_progress note
|
||||
Reference in New Issue
Block a user