Téléverser les fichiers vers "/"
This commit is contained in:
67
preseed_debian_12_standard_ssh_full_disk_encryption.txt
Normal file
67
preseed_debian_12_standard_ssh_full_disk_encryption.txt
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
#### 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
|
||||||
|
d-i finish-install/reboot_in_progress note
|
||||||
Reference in New Issue
Block a user