Skip to content

Instantly share code, notes, and snippets.

@dshadow
Last active November 12, 2019 10:32
Show Gist options
  • Save dshadow/0839c89dee71a649d044c8e2a9b35daf to your computer and use it in GitHub Desktop.
Save dshadow/0839c89dee71a649d044c8e2a9b35daf to your computer and use it in GitHub Desktop.
preseed.cfg
d-i debian-installer/locale string uk_UA
d-i localechooser/supported-locales multiselect en_US.UTF-8, en_US
d-i keymap select ua
d-i keyboard-configuration/modelcode string pc105
d-i keyboard-configuration/toggle select Alt+Shift
d-i keyboard-configuration/layoutcode string us,ru,ua
d-i keyboard-configuration/xkb-keymap select ua
d-i keyboard-configuration/variantcode string ,
d-i keyboard-configuration/optionscode string grp:alt_shift_toggle,grp_led:scroll
d-i keyboard-configuration/unsupported_options boolean true
d-i keyboard-configuration/compose select Right Win
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_timeout string 10
d-i netcfg/get_domain string smartshop
d-i netcfg/hostname string laptop
d-i hw-detect/load_firmware boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string debian.volia.net
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i mirror/suite string buster
d-i mirror/udeb/suite string buster
# To create root
d-i passwd/root-login boolean false
d-i passwd/root-password-crypted password $6$PLB9lhwbRXHRw$9xrpnyjVUZb/EwVGyUR8yZerztapIbTJyacfh20qIpz8wTzRd.3smK8ENYme2BRguuQsYlncw8v8Q81hmSq4b1
# To create a normal user account.
d-i passwd/make-user boolean true
d-i passwd/user-fullname string sysuser
d-i passwd/username string sysuser
d-i passwd/user-default-groups string audio cdrom video sudo
d-i passwd/user-password-crypted password $6$PLB9lhwbRXHRw$9xrpnyjVUZb/EwVGyUR8yZerztapIbTJyacfh20qIpz8wTzRd.3smK8ENYme2BRguuQsYlncw8v8Q81hmSq4b1
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.time.in.ua
d-i time/zone string Europe/Kiev
d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" ; pvremove -y -ff `list-devices disk | head -n1`* || true
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string lvm
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 atomic
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/confirm_nooverwrite boolean true
d-i base-installer/install-recommends boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string debian.volia.net
tasksel tasksel/first multiselect standard
d-i pkgsel/include string openssh-server locales-all curl libnss-extrausers postgresql libdbi-perl libdbd-pg-perl screen vim sudo rsync xorg lightdm lxde-core sox libsox-fmt-all fswebcam
d-i pkgsel/upgrade select safe-upgrade
popularity-contest popularity-contest/participate boolean false
d-i finish-install/reboot_in_progress note
# d-i preseed/late_command string ...
@dshadow
Copy link
Author

dshadow commented Jul 14, 2019

I have just updated it with correct keymap's values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment