corrections bug grub et ajouts commentaires pour ssh
This commit is contained in:
@@ -44,7 +44,7 @@ Installation Debian 12 avec environnement de bureau :
|
|||||||
|
|
||||||
### Installation Réseau
|
### Installation Réseau
|
||||||
1. Démarrer depuis l'ISO netinst de Debian
|
1. Démarrer depuis l'ISO netinst de Debian
|
||||||
2. Au menu de démarrage, appuyer sur Tab pour éditer les paramètres
|
2. Au menu de démarrage, appuyer sur auto-install
|
||||||
3. Ajouter l'URL preseed : `preseed/url=http://votre-serveur/fichier-preseed.txt`
|
3. Ajouter l'URL preseed : `preseed/url=http://votre-serveur/fichier-preseed.txt`
|
||||||
4. Appuyer sur Entrée pour démarrer l'installation automatisée
|
4. Appuyer sur Entrée pour démarrer l'installation automatisée
|
||||||
|
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ d-i pkgsel/include string \
|
|||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
d-i grub-installer/with_other_os boolean true
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
|
||||||
# Spécification du disque pour l'installation du chargeur de démarrage
|
# Demander à l'utilisateur de choisir où installer GRUB
|
||||||
d-i grub-installer/bootdev string /dev/sda
|
d-i grub-installer/bootdev seen false
|
||||||
|
|
||||||
# Message indiquant que le redémarrage est en cours
|
# Message indiquant que le redémarrage est en cours
|
||||||
d-i finish-install/reboot_in_progress note
|
d-i finish-install/reboot_in_progress note
|
||||||
@@ -54,8 +54,8 @@ d-i pkgsel/include string \
|
|||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
d-i grub-installer/with_other_os boolean true
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
|
||||||
# Spécification du disque pour l'installation du chargeur de démarrage
|
# Demander à l'utilisateur de choisir où installer GRUB
|
||||||
d-i grub-installer/bootdev string /dev/sda
|
d-i grub-installer/bootdev seen false
|
||||||
|
|
||||||
# Message indiquant que le redémarrage est en cours
|
# Message indiquant que le redémarrage est en cours
|
||||||
d-i finish-install/reboot_in_progress note
|
d-i finish-install/reboot_in_progress note
|
||||||
@@ -50,8 +50,8 @@ d-i pkgsel/include string \
|
|||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
d-i grub-installer/with_other_os boolean true
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
|
||||||
# Spécification du disque pour l'installation du chargeur de démarrage
|
# Demander à l'utilisateur de choisir où installer GRUB
|
||||||
d-i grub-installer/bootdev string /dev/sda
|
d-i grub-installer/bootdev seen false
|
||||||
|
|
||||||
# Message indiquant que le redémarrage est en cours
|
# Message indiquant que le redémarrage est en cours
|
||||||
d-i finish-install/reboot_in_progress note
|
d-i finish-install/reboot_in_progress note
|
||||||
@@ -54,8 +54,8 @@ d-i pkgsel/include string \
|
|||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
d-i grub-installer/with_other_os boolean true
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
|
||||||
# Spécification du disque pour l'installation du chargeur de démarrage
|
# Demander à l'utilisateur de choisir où installer GRUB
|
||||||
d-i grub-installer/bootdev string /dev/sda
|
d-i grub-installer/bootdev seen false
|
||||||
|
|
||||||
# Message indiquant que le redémarrage est en cours
|
# Message indiquant que le redémarrage est en cours
|
||||||
d-i finish-install/reboot_in_progress note
|
d-i finish-install/reboot_in_progress note
|
||||||
|
|||||||
@@ -1,19 +1,32 @@
|
|||||||
|
# Configuration préliminaire
|
||||||
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
|
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/modelcode string pc105
|
||||||
d-i keyboard-configuration/variantcode string fr
|
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/choose_interface select auto
|
||||||
d-i netcfg/get_hostname string unassigned-hostname
|
d-i netcfg/get_hostname string unassigned-hostname
|
||||||
d-i netcfg/get_domain string unassigned-domain
|
d-i netcfg/get_domain string unassigned-domain
|
||||||
d-i netcfg/wireless_wep string
|
d-i netcfg/wireless_wep string
|
||||||
|
|
||||||
|
# Configuration des dépôts
|
||||||
d-i mirror/country string manual
|
d-i mirror/country string manual
|
||||||
d-i mirror/http/hostname string
|
d-i mirror/http/hostname string
|
||||||
d-i mirror/http/directory string /debian
|
d-i mirror/http/directory string /debian
|
||||||
d-i mirror/http/proxy string
|
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/root-login boolean false
|
||||||
d-i passwd/make-user boolean false
|
d-i passwd/make-user boolean false
|
||||||
|
|
||||||
|
# Configuration de l'horloge système
|
||||||
d-i clock-setup/utc boolean true
|
d-i clock-setup/utc boolean true
|
||||||
d-i time/zone string Europe/Zurich
|
d-i time/zone string Europe/Zurich
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
|
|
||||||
|
# Partitionnement automatique avec LVM
|
||||||
d-i partman-auto/method string lvm
|
d-i partman-auto/method string lvm
|
||||||
d-i partman-auto-lvm/guided_size string max
|
d-i partman-auto-lvm/guided_size string max
|
||||||
d-i partman-lvm/device_remove_lvm boolean true
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
@@ -30,8 +43,14 @@ d-i partman-partitioning/confirm_write_new_label boolean true
|
|||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
d-i partman/confirm boolean true
|
d-i partman/confirm boolean true
|
||||||
d-i partman/confirm_nooverwrite 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
|
d-i apt-setup/cdrom/set-first boolean false
|
||||||
|
|
||||||
|
# Sélection des tâches à installer (installation minimale)
|
||||||
tasksel tasksel/first multiselect minimal
|
tasksel tasksel/first multiselect minimal
|
||||||
|
|
||||||
|
# Paquets additionnels à installer
|
||||||
d-i pkgsel/include string openssh-server
|
d-i pkgsel/include string openssh-server
|
||||||
d-i pkgsel/include string \
|
d-i pkgsel/include string \
|
||||||
vim \
|
vim \
|
||||||
@@ -39,7 +58,12 @@ d-i pkgsel/include string \
|
|||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
htop \
|
htop \
|
||||||
|
|
||||||
|
# Installation de GRUB
|
||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
d-i grub-installer/with_other_os boolean true
|
d-i grub-installer/with_other_os boolean true
|
||||||
d-i grub-installer/bootdev string /dev/sda
|
# 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
|
d-i finish-install/reboot_in_progress note
|
||||||
Reference in New Issue
Block a user