This commit is contained in:
2025-06-30 20:59:05 +02:00
parent 2c9f8d2c07
commit da7bf98965
3 changed files with 18 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ 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/hostname string deb.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
@@ -23,13 +23,9 @@ d-i mirror/http/proxy string
# Ne pas créer de compte root, utiliser sudo
d-i passwd/root-login boolean false
# Création d'un utilisateur normal
d-i passwd/user-fullname string Utilisateur Debian
d-i passwd/username string user
d-i passwd/user-password password debian123
d-i passwd/user-password-again password debian123
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
# Créer un compte utilisateur - les détails seront demandés pendant l'installation
d-i passwd/make-user boolean true
# Le nom complet, nom d'utilisateur et mot de passe seront demandés interactivement
### Configuration de l'horloge et du fuseau horaire
d-i clock-setup/utc boolean true
@@ -130,14 +126,14 @@ d-i finish-install/reboot_in_progress note
d-i preseed/late_command string \
in-target systemctl enable cups ; \
in-target systemctl enable lightdm ; \
in-target usermod -aG sudo user ; \
in-target usermod -aG lpadmin user ; \
in-target usermod -aG cdrom user ; \
in-target usermod -aG floppy user ; \
in-target usermod -aG audio user ; \
in-target usermod -aG video user ; \
in-target usermod -aG plugdev user ; \
in-target usermod -aG netdev user ; \
in-target usermod -aG sudo $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG lpadmin $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG cdrom $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG floppy $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG audio $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG video $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG plugdev $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG netdev $(getent passwd 1000 | cut -d: -f1) ; \
in-target flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo ; \
in-target gsettings set org.cinnamon.desktop.default-applications.terminal exec 'gnome-terminal' ; \
in-target gsettings set org.cinnamon.desktop.interface gtk-theme 'Mint-Y' ; \