Actualiser preseed_debian_12_standard_ssh_full_disk_encryption.txt
This commit is contained in:
@@ -1,67 +1,64 @@
|
||||
#### Configuration de préinstallation minimale pour Debian avec chiffrement intégral ####
|
||||
|
||||
### Localisation
|
||||
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
|
||||
# Configuration automatique du réseau (DHCP)
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string debian-machine
|
||||
d-i netcfg/get_domain string local
|
||||
|
||||
### Paramètres du miroir Debian
|
||||
d-i mirror/country string manual
|
||||
d-i mirror/http/hostname string ftp.ch.debian.org
|
||||
d-i mirror/http/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
### Configuration de l’utilisateur et du mot de passe root
|
||||
# Pas de compte root, l'utilisateur sudo est utilisé à la place
|
||||
d-i passwd/root-login boolean false
|
||||
|
||||
# Création de l’utilisateur standard
|
||||
d-i passwd/user-fullname string Utilisateur
|
||||
d-i passwd/username string utilisateur
|
||||
d-i passwd/user-password password mot_de_passe_utilisateur
|
||||
d-i passwd/user-password-again password mot_de_passe_utilisateur
|
||||
|
||||
### Fuseau horaire
|
||||
d-i time/zone string Europe/Zurich
|
||||
d-i clock-setup/utc boolean true
|
||||
|
||||
### Partitionnement et chiffrement
|
||||
# Méthode de partitionnement LVM avec chiffrement intégral
|
||||
d-i partman-auto/method string crypto
|
||||
d-i partman-auto-lvm/guided_size string max
|
||||
|
||||
# Recette de partitionnement : tout dans la même partition racine
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
# Confirmer la suppression de données et activer le chiffrement intégral
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-auto-crypto/erase_disks boolean true
|
||||
d-i partman-auto-crypto/confirm boolean true
|
||||
d-i partman-auto-crypto/confirm_nooverwrite boolean true
|
||||
|
||||
# Confirmer l’écriture des modifications sur le disque
|
||||
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
|
||||
|
||||
### Installation minimale des paquets
|
||||
tasksel tasksel/first multiselect minimal
|
||||
d-i pkgsel/include string openssh-server
|
||||
|
||||
### Installation 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 /dev/sda
|
||||
|
||||
### Finalisation de l’installation
|
||||
#### Preconfiguration file for Debian with full disk encryption, prompting for user information ####
|
||||
|
||||
### Localization
|
||||
d-i debian-installer/locale string fr_CH.UTF-8
|
||||
|
||||
### Keyboard configuration
|
||||
d-i keyboard-configuration/modelcode string pc105
|
||||
d-i keyboard-configuration/variantcode string fr
|
||||
|
||||
### Network configuration
|
||||
# Automatic network configuration (DHCP)
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string debian-machine
|
||||
d-i netcfg/get_domain string local
|
||||
|
||||
### Debian mirror settings
|
||||
d-i mirror/country string manual
|
||||
d-i mirror/http/hostname string ftp.ch.debian.org
|
||||
d-i mirror/http/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
### User configuration
|
||||
# Disable root account, use sudo for the created user
|
||||
d-i passwd/root-login boolean false
|
||||
|
||||
# Allow installer to prompt for user information (name, username, password)
|
||||
d-i passwd/make-user boolean true
|
||||
|
||||
### Timezone configuration
|
||||
d-i time/zone string Europe/Zurich
|
||||
d-i clock-setup/utc boolean true
|
||||
|
||||
### Partitioning and encryption
|
||||
# Partitioning method: LVM with full disk encryption
|
||||
d-i partman-auto/method string crypto
|
||||
d-i partman-auto-lvm/guided_size string max
|
||||
|
||||
# Partitioning recipe: single root partition
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
# Confirm removal of existing data and enable full disk encryption
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-auto-crypto/erase_disks boolean true
|
||||
d-i partman-auto-crypto/confirm boolean true
|
||||
d-i partman-auto-crypto/confirm_nooverwrite boolean true
|
||||
|
||||
# Confirm writing changes to disk
|
||||
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
|
||||
|
||||
### Minimal package installation
|
||||
tasksel tasksel/first multiselect minimal
|
||||
d-i pkgsel/include string openssh-server
|
||||
|
||||
### Boot loader installation (GRUB)
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
d-i grub-installer/bootdev string /dev/sda
|
||||
|
||||
### Finalizing the installation
|
||||
d-i finish-install/reboot_in_progress note
|
||||
Reference in New Issue
Block a user