fix: update preseed for automated installation with user-specified values
- Changed domain from local to knel.net - Changed username from kneluser to football - Removed sudo from user groups (football user not a sudoer) - Added debconf priority critical to suppress non-essential questions - Added console-setup/layoutcode and variantcode - Added popularity-contest participation = false - Added apt-setup options to skip contrib/non-free/backports prompts - Added base-installer/kernel/image selection - Added netcfg/confirm_static Installation should now only prompt for: 1. Root password 2. User password (football) 3. Encryption passphrase 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
@@ -1,15 +1,23 @@
|
||||
# Localization
|
||||
d-i debian-installer/locale string en_US
|
||||
# Localization - suppress all locale questions
|
||||
d-i debian-installer/locale string en_US.UTF-8
|
||||
d-i debian-installer/supported_locales multiselect en_US.UTF-8
|
||||
d-i console-setup/ask_detect boolean false
|
||||
d-i console-keymaps-at/keymap select us
|
||||
d-i console-setup/layoutcode string us
|
||||
d-i console-setup/variantcode string
|
||||
|
||||
# Keyboard
|
||||
d-i keyboard-configuration/xkb-keymap select us
|
||||
d-i keyboard-configuration/toggle select No toggling
|
||||
|
||||
# Network configuration (no network config - will be configured via WireGuard)
|
||||
# Set debconf priority to critical to suppress non-essential questions
|
||||
d-i debconf/priority select critical
|
||||
|
||||
# Network configuration
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/disable_autoconfig boolean false
|
||||
d-i netcfg/get_hostname string knel-football
|
||||
d-i netcfg/get_domain string local
|
||||
d-i netcfg/get_domain string knel.net
|
||||
d-i netcfg/hostname string knel-football
|
||||
|
||||
# Mirror configuration
|
||||
d-i mirror/country string manual
|
||||
@@ -25,8 +33,8 @@ d-i clock-setup/ntp boolean true
|
||||
# User setup
|
||||
# SECURITY: Passwords are prompted during installation, not hardcoded
|
||||
# This ensures each installation has unique credentials
|
||||
d-i passwd/user-fullname string KNEL User
|
||||
d-i passwd/username string kneluser
|
||||
d-i passwd/user-fullname string football user
|
||||
d-i passwd/username string football
|
||||
# Force password prompt during installation
|
||||
d-i passwd/user-password-crypted string !
|
||||
d-i passwd/root-password-crypted string !
|
||||
@@ -34,7 +42,7 @@ d-i passwd/root-login boolean true
|
||||
|
||||
# Password quality enforcement (MANDATORY for tier0 security)
|
||||
d-i passwd/make-user boolean true
|
||||
d-i passwd/user-default-groups string sudo,audio,video,plugdev,input,cdrom,floppy
|
||||
d-i passwd/user-default-groups string audio,video,plugdev,input,cdrom,floppy
|
||||
|
||||
# PAM password quality configuration (enforced in installed system)
|
||||
# This will be configured in post-installation hooks
|
||||
@@ -110,10 +118,25 @@ d-i grub-installer/with_other_os boolean false
|
||||
d-i grub-installer/bootdev string default
|
||||
d-i grub-installer/force-efi-extra-removable boolean true
|
||||
|
||||
# Popularity contest - do not participate
|
||||
popularity-contest popularity-contest/participate boolean false
|
||||
|
||||
# Security configuration
|
||||
d-i security/updates select none
|
||||
d-i passwd/shadow boolean true
|
||||
|
||||
# Finish
|
||||
d-i finish-install/reboot_in_progress note
|
||||
d-i cdrom-detect/eject boolean false
|
||||
d-i cdrom-detect/eject boolean false
|
||||
|
||||
# Skip additional prompts
|
||||
d-i apt-setup/contrib boolean false
|
||||
d-i apt-setup/non-free boolean false
|
||||
d-i apt-setup/backports boolean false
|
||||
d-i apt-setup/services-select multiselect
|
||||
|
||||
# Don't ask about kernel flavors
|
||||
d-i base-installer/kernel/image select linux-image-amd64
|
||||
|
||||
# Don't ask about hostname confirmation
|
||||
d-i netcfg/confirm_static boolean true
|
||||
Reference in New Issue
Block a user