preseed: clean minimal LVM+EFI config (fr_CH), openssh-server, no swap
This commit is contained in:
@@ -1,67 +1,42 @@
|
||||
#### Preconfiguration file for Debian with full disk encryption, prompting for user information ####
|
||||
|
||||
### Localization
|
||||
d-i debian-installer/locale string fr_CH.UTF-8
|
||||
d-i keyboard-configuration/model select PC générique 105 touches (intl)
|
||||
d-i keyboard-configuration/layout select fr
|
||||
d-i keyboard-configuration/variant select latin9
|
||||
|
||||
### Keyboard configuration
|
||||
d-i keyboard-configuration/modelcode string pc105
|
||||
d-i keyboard-configuration/variantcode string fr
|
||||
|
||||
### Network configuration
|
||||
# Automatic network configuration (DHCP)
|
||||
d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string debian-machine
|
||||
d-i netcfg/get_domain string local
|
||||
|
||||
### Debian mirror settings
|
||||
d-i mirror/country string manual
|
||||
d-i mirror/http/hostname string deb.debian.org
|
||||
d-i mirror/http/directory string /debian
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
### User configuration
|
||||
# Disable root account, use sudo for the created user
|
||||
d-i passwd/root-login boolean false
|
||||
|
||||
# Allow installer to prompt for user information (name, username, password)
|
||||
d-i passwd/make-user boolean true
|
||||
|
||||
### Timezone configuration
|
||||
d-i time/zone string Europe/Zurich
|
||||
d-i clock-setup/utc boolean true
|
||||
d-i time/zone string Europe/Zurich
|
||||
|
||||
### Partitioning and encryption
|
||||
# Partitioning method: LVM with full disk encryption
|
||||
d-i partman-auto/method string crypto
|
||||
d-i partman-auto-lvm/guided_size string max
|
||||
|
||||
# Partitioning recipe: single root partition
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
# Confirm removal of existing data and enable full disk encryption
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-auto-crypto/erase_disks boolean true
|
||||
d-i partman-auto-crypto/confirm boolean true
|
||||
d-i partman-auto-crypto/confirm_nooverwrite boolean true
|
||||
|
||||
# Confirm writing changes to disk
|
||||
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
|
||||
|
||||
# Suppress swap partition warnings
|
||||
d-i partman-basicfilesystems/no_swap boolean false
|
||||
|
||||
### Minimal package installation
|
||||
tasksel tasksel/first multiselect minimal
|
||||
d-i pkgsel/include string openssh-server
|
||||
|
||||
### Boot loader installation (GRUB)
|
||||
d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
d-i grub-installer/bootdev string /dev/sda
|
||||
|
||||
### Finalizing the installation
|
||||
d-i finish-install/reboot_in_progress note
|
||||
Reference in New Issue
Block a user