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' ; \

View File

@@ -107,7 +107,7 @@ d-i netcfg/wireless_wep string
# Default value for the mirror protocol: http
#d-i mirror/protocol string ftp
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/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
# use sudo).
d-i passwd/root-login boolean false
# Alternatively, to skip creation of a normal user account.
d-i passwd/make-user boolean false
# Create a normal user account - prompt for details during installation
d-i passwd/make-user boolean true
# Root password, either in clear text
#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.
#d-i passwd/root-password-crypted password [crypt(3) hash]
# To create a normal user account.
#d-i passwd/user-fullname string Debian User
#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
# User account will be prompted during installation
# Username, full name, and password will be requested interactively
# The user account will be added to some standard initial groups. To
# override that, use this.

View File

@@ -15,7 +15,7 @@ d-i netcfg/get_domain string local
### Debian mirror settings
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