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 ### Paramètres du miroir Debian
d-i mirror/country string manual 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/directory string /debian
d-i mirror/http/proxy string 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 # Ne pas créer de compte root, utiliser sudo
d-i passwd/root-login boolean false d-i passwd/root-login boolean false
# Création d'un utilisateur normal # Créer un compte utilisateur - les détails seront demandés pendant l'installation
d-i passwd/user-fullname string Utilisateur Debian d-i passwd/make-user boolean true
d-i passwd/username string user # Le nom complet, nom d'utilisateur et mot de passe seront demandés interactivement
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
### Configuration de l'horloge et du fuseau horaire ### Configuration de l'horloge et du fuseau horaire
d-i clock-setup/utc boolean true 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 \ d-i preseed/late_command string \
in-target systemctl enable cups ; \ in-target systemctl enable cups ; \
in-target systemctl enable lightdm ; \ in-target systemctl enable lightdm ; \
in-target usermod -aG sudo user ; \ in-target usermod -aG sudo $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG lpadmin user ; \ in-target usermod -aG lpadmin $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG cdrom user ; \ in-target usermod -aG cdrom $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG floppy user ; \ in-target usermod -aG floppy $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG audio user ; \ in-target usermod -aG audio $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG video user ; \ in-target usermod -aG video $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG plugdev user ; \ in-target usermod -aG plugdev $(getent passwd 1000 | cut -d: -f1) ; \
in-target usermod -aG netdev user ; \ 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 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.default-applications.terminal exec 'gnome-terminal' ; \
in-target gsettings set org.cinnamon.desktop.interface gtk-theme 'Mint-Y' ; \ in-target gsettings set org.cinnamon.desktop.interface gtk-theme 'Mint-Y' ; \

View File

@@ -107,7 +107,7 @@ d-i netcfg/wireless_wep string
# Default value for the mirror protocol: http # Default value for the mirror protocol: http
#d-i mirror/protocol string ftp #d-i mirror/protocol string ftp
d-i mirror/country string manual d-i mirror/country string manual
d-i mirror/http/hostname string d-i mirror/http/hostname string deb.debian.org
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
@@ -120,8 +120,8 @@ d-i mirror/http/proxy string
# Skip creation of a root account (normal user account will be able to # Skip creation of a root account (normal user account will be able to
# use sudo). # use sudo).
d-i passwd/root-login boolean false d-i passwd/root-login boolean false
# Alternatively, to skip creation of a normal user account. # Create a normal user account - prompt for details during installation
d-i passwd/make-user boolean false d-i passwd/make-user boolean true
# Root password, either in clear text # Root password, either in clear text
#d-i passwd/root-password password r00tme #d-i passwd/root-password password r00tme
@@ -129,16 +129,8 @@ d-i passwd/make-user boolean false
# or encrypted using a crypt(3) hash. # or encrypted using a crypt(3) hash.
#d-i passwd/root-password-crypted password [crypt(3) hash] #d-i passwd/root-password-crypted password [crypt(3) hash]
# To create a normal user account. # User account will be prompted during installation
#d-i passwd/user-fullname string Debian User # Username, full name, and password will be requested interactively
#d-i passwd/username string debian
# Normal user's password, either in clear text
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# or encrypted using a crypt(3) hash.
#d-i passwd/user-password-crypted password [crypt(3) hash]
# Create the first user with the specified UID instead of the default.
#d-i passwd/user-uid string 1010
# The user account will be added to some standard initial groups. To # The user account will be added to some standard initial groups. To
# override that, use this. # override that, use this.

View File

@@ -15,7 +15,7 @@ d-i netcfg/get_domain string local
### Debian mirror settings ### Debian mirror settings
d-i mirror/country string manual 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/directory string /debian
d-i mirror/http/proxy string d-i mirror/http/proxy string