77 lines
No EOL
2.5 KiB
Django/Jinja
77 lines
No EOL
2.5 KiB
Django/Jinja
d-i partman/early_command string \
|
|
debconf-set partman/confirm_write_new_label true; \
|
|
debconf-set partman/confirm_nooverwrite true; \
|
|
debconf-set partman/confirm true
|
|
|
|
# Preseeding only locale sets language, country and locale.
|
|
d-i debian-installer/locale string de_DE.UTF-8
|
|
|
|
# Keyboard selection
|
|
d-i console-setup/ask_detect boolean false
|
|
d-i keyboard-configuration/xkb-keymap select de
|
|
d-i keyboard-configuration/layoutcode string de
|
|
d-i keyboard-configuration/variant string de
|
|
d-i keyboard-configuration/modelcode string pc105
|
|
|
|
# Clock and time zone setup
|
|
d-i clock-setup/utc boolean true
|
|
d-i time/zone string Europe/Berlin
|
|
|
|
# Avoid that last message about the install being complete.
|
|
d-i finish-install/reboot_in_progress note
|
|
|
|
# Partitioning
|
|
d-i partman-auto/method string lvm
|
|
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
|
|
|
|
## This makes partman automatically partition without confirmation.
|
|
d-i partman-md/confirm boolean true
|
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
|
d-i partman-auto/choose_recipe select atomic
|
|
d-i partman/choose_partition select finish
|
|
d-i partman-lvm/confirm boolean true
|
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
|
d-i partman/confirm boolean true
|
|
|
|
# Bootloader
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/with_other_os boolean true
|
|
d-i grub-installer/bootdev string /dev/vda
|
|
|
|
# Account setup
|
|
|
|
## Root Account
|
|
d-i passwd/root-login boolean false
|
|
|
|
## User Account
|
|
d-i passwd/user-fullname string heyeradmin
|
|
d-i passwd/user-uid string 1000
|
|
d-i passwd/user-default-groups string sudo,adm,cdrom,dip,plugdev
|
|
d-i passwd/user-password password packer
|
|
d-i passwd/user-password-again password packer
|
|
d-i passwd/username string heyeradmin
|
|
d-i user-setup/allow-password-weak boolean true
|
|
d-i user-setup/encrypt-home boolean false
|
|
|
|
d-i preseed/late_command string \
|
|
in-target bash -c \
|
|
'echo "heyeradmin ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/99_heyeradmin && \
|
|
chmod 440 /etc/sudoers.d/99_heyeradmin'
|
|
|
|
# Hostname
|
|
d-i netcfg/get_hostname string debian
|
|
d-i netcfg/get_domain string localdomain
|
|
d-i netcfg/disable_dhcp boolean false
|
|
|
|
|
|
# Package selection
|
|
tasksel tasksel/first standard
|
|
d-i pkgsel/include string openssh-server build-essential
|
|
d-i pkgsel/update-policy select none
|
|
d-i pkgsel/upgrade select full-upgrade
|
|
|
|
d-i partman/confirm_write_new_label boolean true
|
|
d-i partman/confirm_nooverwrite boolean true
|
|
d-i partman/confirm boolean true |