diff --git a/configs/debian-12-pressed.cfg b/configs/debian-12-preseed.cfg similarity index 95% rename from configs/debian-12-pressed.cfg rename to configs/debian-12-preseed.cfg index 3dfbfa2..1fbf69a 100644 --- a/configs/debian-12-pressed.cfg +++ b/configs/debian-12-preseed.cfg @@ -13,7 +13,7 @@ d-i debian-installer/language string fr d-i debian-installer/country string FR d-i debian-installer/locale string fr_FR.UTF-8 # Optionally specify additional locales to be generated. -d-i localechooser/supported-locales multiselect en_US.UTF-8, fr_FR.UTF-8 +#d-i localechooser/supported-locales multiselect en_US.UTF-8, fr_FR.UTF-8 # Keyboard selection. d-i keyboard-configuration/xkb-keymap select fr @@ -62,8 +62,8 @@ d-i passwd/root-login boolean false # CREATION DE L'UTILISATEUR SUDOER d-i passwd/user-fullname string Bellinuxien d-i passwd/username string bellinuxien -d-i passwd/user-password password bellinux@dm! -d-i passwd/user-password-again password bellinux@dm! +d-i passwd/user-password password bellinux +d-i passwd/user-password-again password bellinux ### Clock and time zone setup # Controls whether or not the hardware clock is set to UTC. @@ -166,11 +166,14 @@ d-i grub-installer/with_other_os boolean true # Due notably to potential USB sticks, the location of the primary drive can # not be determined safely in general, so this needs to be specified: -#d-i grub-installer/bootdev string /dev/sda +d-i grub-installer/bootdev string /dev/sda /dev/nvme0n1 # To install to the primary device (assuming it is not a USB stick): -d-i grub-installer/bootdev string default +#d-i grub-installer/bootdev string default ### Finishing up the installation +d-i pressed/late_command string\ + in-target /bin/bash -c 'echo debian > /etc/hostname' + # This is how to make the installer shutdown when finished, but not # reboot into the installed system. #d-i debian-installer/exit/halt boolean true diff --git a/configs/install.ipxe b/configs/install.ipxe index fab0198..e9f1a2a 100644 --- a/configs/install.ipxe +++ b/configs/install.ipxe @@ -95,7 +95,7 @@ boot || goto menu :debian-12-auto kernel http://${server_ip}/tftpboot/debian-12/64/linux initrd http://${server_ip}/tftpboot/debian-12/64/initrd.gz -imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 auto=true keymap=fr ip=dhcp domain=garage hostname=debian preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-preseed.cfg +imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 auto=true keymap=fr locale=FR_fr ip=dhcp domain=garage hostname=debian preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-preseed.cfg boot || goto menu #Paramètres de démarrage pour DEBIAN-12-32