87 lines
3.5 KiB
Plaintext
87 lines
3.5 KiB
Plaintext
### Preseeding only locale sets language, country and locale.
|
|
d-i debian-installer/locale string en_US.UTF-8
|
|
|
|
### Keyboard selection.
|
|
d-i keyboard-configuration/xkb-keymap select us
|
|
|
|
### Network config
|
|
d-i netcfg/choose_interface select auto
|
|
d-i netcfg/get_hostname string unassigned-hostname
|
|
d-i netcfg/get_domain string unassigned-domain
|
|
d-i netcfg/wireless_wep string
|
|
|
|
### Mirror settings
|
|
d-i mirror/country string manual
|
|
d-i mirror/http/hostname string http.us.debian.org
|
|
d-i mirror/http/directory string /debian
|
|
d-i mirror/http/proxy string
|
|
|
|
### Account setup
|
|
d-i passwd/root-login boolean false
|
|
d-i passwd/user-fullname string agent
|
|
d-i passwd/username string agent
|
|
|
|
### Clock and time zone setup
|
|
d-i clock-setup/utc boolean true
|
|
d-i time/zone string US/Mountain
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
### Partitioning
|
|
## Partitioning example
|
|
d-i partman-auto/disk string /dev/sda
|
|
d-i partman-auto/method string crypto
|
|
d-i partman-auto-lvm/guided_size string max
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
d-i partman-md/device_remove_md boolean true
|
|
d-i partman-lvm/confirm boolean true
|
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
|
d-i partman-auto/choose_recipe select root-encrypted
|
|
d-i partman-auto/expert_recipe string \
|
|
root-encrypted :: \
|
|
1000 1000 1000 free \
|
|
$iflabel{ gpt } \
|
|
$reusemethod{ } \
|
|
method{ efi } \
|
|
format{ } \
|
|
. \
|
|
1000 1000 1000 ext2 \
|
|
$primary{ } $bootable{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /boot } \
|
|
. \
|
|
40000 40000 -1 ext4 \
|
|
$lvmok{ } lv_name{ root } \
|
|
in_vg { crypt } \
|
|
$primary{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ / } \
|
|
. \
|
|
|
|
d-i partman-md/device_remove_md boolean true
|
|
d-i partman-basicfilesystems/no_mount_point boolean false
|
|
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
|
|
d-i partman-efi/non_efi_system boolean true
|
|
d-i partman-partitioning/choose_label select gpt
|
|
d-i partman-partitioning/default_label string gpt
|
|
d-i partman-auto-crypto/erase_disks boolean false
|
|
d-i partman-basicfilesystems/no_swap boolean false
|
|
|
|
### Package config
|
|
d-i base-installer/install-recommends boolean false
|
|
d-i apt-setup/services-select multiselect backports
|
|
d-i apt-setup/contrib boolean true
|
|
d-i apt-setup/cdrom/set-first boolean false
|
|
d-i apt-setup/disable-cdrom-entries boolean true
|
|
d-i pkgsel/run_tasksel boolean false
|
|
|
|
### Boot loader installation
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/with_other_os boolean false
|
|
d-i grub-installer/bootdev string /dev/sda
|
|
d-i finish-install/reboot_in_progress note
|