Browse Source

Merge pull request 'Option pour une install 100% automatique (je testerai)' (#82) from autoinstall into master

Reviewed-on: #82
spf74
otyugh 2 years ago
parent
commit
611ba3198c
  1. 5
      config/includes.binary/boot/grub/grub.cfg
  2. 42
      config/includes.binary/install/df-preseed-sda-auto.cfg
  3. 6
      config/includes.binary/isolinux/install.cfg

5
config/includes.binary/boot/grub/grub.cfg

@ -41,4 +41,7 @@ menuentry "Installation en mode expert" {
initrd /install/initrd.gz
}
menuentry "Installation automatique (login:utilisateur mdp:1234)" {
linux /install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788 quiet locale=fr_FR.UTF-8 keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=latin9 keymap=skip-config keyboard-layouts=fr hostname=debian domain=home file=/cdrom/install/df-preseed-sda-auto.cfg
initrd /install/gtk/initrd.gz
}

42
config/includes.binary/install/df-preseed-sda-auto.cfg

@ -0,0 +1,42 @@
# uniquement les questions importantes
d-i debconf/priority string critical
# Nom de la machin par défaut
d-i netcfg/hostname string debian
# Ne pas créer de compte root
d-i passwd/root-login boolean false
# pas de chargement de firmware
d-i hw-detect/load_firmware boolean false
# Le compte sera ajouté à certains groupes.
d-i passwd/user-default-groups string audio cdrom video sudo netdev plugdev fuse users lp lpadmin scanner floppy dip bluetooth
# utilisation du disque principal et une seule partition
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
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
# install grub if this is the only one system.
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/sda
# suppression du message de fin d'installation et reboot automatique.
d-i finish-install/reboot_in_progress note
# Réseau désactivé
d-i netcfg/enable boolean false
d-i apt-setup/use_mirror boolean false
# Éteindre plutôt que de redémarer
d-i debian-installer/exit/poweroff boolean true
d-i passwd/user-fullname string Utilisateur
d-i passwd/username string utilisateur
d-i passwd/user-password password 1234
d-i passwd/user-password-again password 1234

6
config/includes.binary/isolinux/install.cfg

@ -16,3 +16,9 @@ label expert
initrd /install/initrd.gz
append vga=788 priority=low
label installauto
menu label Installation automatique (login:utilisateur mdp:1234)
linux /install/gtk/vmlinuz
initrd /install/gtk/initrd.gz
append video=vesa:ywrap,mtrr vga=788 locale=fr_FR.UTF-8 hostname=debian domain=home keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=latin9 keymap=skip-config file=/cdrom/install/df-preseed-sda-auto.cfg -- quiet

Loading…
Cancel
Save