Cinnamon et maj readme
This commit is contained in:
129
preseed_debian_12_cinnamon.txt
Normal file
129
preseed_debian_12_cinnamon.txt
Normal file
@@ -0,0 +1,129 @@
|
||||
#### Fichier de préconfiguration pour Debian 12 avec environnement de bureau Cinnamon ####
|
||||
|
||||
### Localisation
|
||||
d-i debian-installer/locale string fr_CH.UTF-8
|
||||
|
||||
### Configuration clavier
|
||||
d-i keyboard-configuration/modelcode string pc105
|
||||
d-i keyboard-configuration/variantcode string fr
|
||||
|
||||
### Configuration réseau
|
||||
# Configuration réseau automatique (DHCP)
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string debian-cinnamon
|
||||
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/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
### Configuration du compte utilisateur
|
||||
# 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
|
||||
|
||||
### Configuration de l'horloge et du fuseau horaire
|
||||
d-i clock-setup/utc boolean true
|
||||
d-i time/zone string Europe/Zurich
|
||||
d-i clock-setup/ntp boolean true
|
||||
|
||||
### Partitionnement
|
||||
d-i partman-auto/method string regular
|
||||
d-i partman-auto/disk string /dev/sda
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
# Confirmer le partitionnement
|
||||
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
|
||||
|
||||
### Configuration des paquets de base
|
||||
d-i base-installer/install-recommends boolean true
|
||||
d-i base-installer/kernel/image string linux-image-amd64
|
||||
|
||||
### Configuration APT
|
||||
d-i apt-setup/non-free boolean true
|
||||
d-i apt-setup/contrib boolean true
|
||||
d-i apt-setup/use_mirror boolean true
|
||||
|
||||
### Sélection des paquets
|
||||
# Installer l'environnement de bureau Cinnamon
|
||||
tasksel tasksel/first multiselect desktop-environment, cinnamon-desktop-environment
|
||||
|
||||
# Paquets supplémentaires à installer
|
||||
d-i pkgsel/include string \
|
||||
firefox-esr \
|
||||
libreoffice \
|
||||
thunderbird \
|
||||
gimp \
|
||||
vlc \
|
||||
synaptic \
|
||||
gdebi \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
vim \
|
||||
htop \
|
||||
neofetch \
|
||||
software-properties-common \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
gnupg \
|
||||
lsb-release \
|
||||
flatpak \
|
||||
firmware-linux-nonfree \
|
||||
printer-driver-all \
|
||||
cups
|
||||
|
||||
# Mise à jour automatique
|
||||
d-i pkgsel/update-policy select install-security-updates
|
||||
d-i pkgsel/upgrade select safe-upgrade
|
||||
|
||||
### Configuration du serveur d'impression
|
||||
# Installer et configurer CUPS
|
||||
d-i pkgsel/include string cups-daemon cups-client
|
||||
|
||||
### Configuration du gestionnaire de connexion
|
||||
# Utiliser LightDM comme gestionnaire de connexion
|
||||
d-i pkgsel/include string lightdm lightdm-gtk-greeter
|
||||
|
||||
### Configuration de GRUB
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
d-i grub-installer/bootdev string default
|
||||
|
||||
### Terminer l'installation
|
||||
d-i finish-install/reboot_in_progress note
|
||||
|
||||
### Configuration post-installation
|
||||
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 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' ; \
|
||||
in-target gsettings set org.cinnamon.desktop.interface icon-theme 'Mint-Y' ; \
|
||||
in-target gsettings set org.cinnamon.desktop.wm.preferences theme 'Mint-Y' ; \
|
||||
in-target gsettings set org.cinnamon.theme name 'Mint-Y' ; \
|
||||
in-target update-grub
|
||||
|
||||
# Ne pas demander de confirmation pour les packages
|
||||
d-i debconf/frontend select noninteractive
|
||||
Reference in New Issue
Block a user