2018-04-04 10:55:25 -04:00
|
|
|
################################################################################
|
|
|
|
### Localization
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i debian-installer/locale string en_US.UTF-8
|
2018-04-05 05:43:36 -04:00
|
|
|
d-i localechooser/supported-locales multiselect en_US.UTF-8, bg_BG.UTF-8
|
2018-04-04 10:55:25 -04:00
|
|
|
d-i localechooser/translation/warn-light boolean true
|
|
|
|
d-i localechooser/translation/warn-severe boolean true
|
|
|
|
d-i console-setup/ask_detect boolean false
|
|
|
|
d-i keyboard-configuration/xkb-keymap select us
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Network configuration
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i netcfg/choose_interface select auto
|
|
|
|
d-i netcfg/wireless_wep string
|
|
|
|
d-i netcfg/get_hostname string PRESEED
|
|
|
|
d-i netcfg/get_domain string lan
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Mirror settings
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i mirror/country string manual
|
|
|
|
d-i mirror/http/hostname string bg.archive.ubuntu.com
|
|
|
|
d-i mirror/http/directory string /ubuntu
|
|
|
|
d-i mirror/http/proxy string
|
|
|
|
d-i mirror/http/mirror select bg.archive.ubuntu.com
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Clock and time zone setup
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i clock-setup/utc boolean true
|
|
|
|
d-i time/zone string Europe/Sofia
|
|
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
d-i clock-setup/ntp-server string time.apple.com
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Partitioning
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
#d-i preseed/early_command string umount /media || true
|
|
|
|
#d-i partman/unmount_active boolean true
|
|
|
|
d-i partman-auto/method string regular
|
|
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
|
|
d-i partman-lvm/device_remove_lvm_span 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/purge_lvm_from_device boolean true
|
|
|
|
d-i partman-auto-lvm/guided_size string max
|
|
|
|
d-i partman-auto-lvm/new_vg_name string workstation
|
|
|
|
d-i partman-auto/choose_recipe select atomic
|
|
|
|
d-i partman/default_filesystem string ext4
|
|
|
|
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-md/confirm boolean true
|
|
|
|
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-lvm/confirm_nooverwrite boolean true
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Base system installation
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
#d-i base-installer/kernel/skip-install boolean true
|
|
|
|
d-i base-installer/install-recommends boolean true
|
|
|
|
d-i base-installer/kernel/image string linux-generic
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Account setup
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i passwd/user-fullname string ubuntu-user
|
|
|
|
d-i passwd/username string ubuntu
|
2018-05-06 12:13:02 -04:00
|
|
|
d-i passwd/user-password-crypted password $6$NafeQeIx$uKRfMInxDw3vcGFML74rdjupfENDwbltlAVoJfRzMWtJu3qN2Sl0j3IBK9dYIYQtyEZZ3wKQn6ECLrHWEf8rj/
|
2018-04-04 10:55:25 -04:00
|
|
|
d-i user-setup/allow-password-weak boolean true
|
|
|
|
d-i passwd/user-default-groups string sudo
|
|
|
|
d-i user-setup/encrypt-home boolean false
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Apt setup
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i apt-setup/restricted boolean true
|
|
|
|
d-i apt-setup/universe boolean true
|
|
|
|
d-i apt-setup/backports boolean true
|
|
|
|
d-i apt-setup/use_mirror boolean false
|
|
|
|
d-i apt-setup/services-select multiselect security, updates
|
|
|
|
d-i apt-setup/security_host string security.ubuntu.com
|
|
|
|
d-i apt-setup/security_path string /ubuntu
|
|
|
|
#d-i apt-setup/extras boolean true
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Package selection
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
tasksel tasksel/first multiselect server
|
|
|
|
|
|
|
|
# Individual additional packages to install
|
2018-04-05 05:43:36 -04:00
|
|
|
d-i pkgsel/include string apt-transport-https curl openssh-server python
|
2018-04-04 10:55:25 -04:00
|
|
|
|
|
|
|
# see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1317602
|
|
|
|
#d-i pkgsel/upgrade select none
|
2018-04-05 05:43:36 -04:00
|
|
|
d-i pgsel/upgrade select full-upgrade
|
2018-04-04 10:55:25 -04:00
|
|
|
|
2018-04-05 05:43:36 -04:00
|
|
|
d-i pkgsel/language-packs multiselect en, bg
|
2018-04-04 10:55:25 -04:00
|
|
|
d-i pkgsel/update-policy select unattended-upgrades
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Boot loader installation
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i grub-installer/only_debian boolean true
|
|
|
|
d-i grub-installer/with_other_os boolean true
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Finishing up the installation
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i finish-install/reboot_in_progress note
|
2018-04-05 05:43:36 -04:00
|
|
|
#d-i debian-installer/exit/poweroff boolean true
|
2018-04-04 10:55:25 -04:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### X configuration
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Monitor autodetection is recommended.
|
|
|
|
xserver-xorg xserver-xorg/autodetect_monitor boolean true
|
|
|
|
# Uncomment if you have an LCD display.
|
|
|
|
xserver-xorg xserver-xorg/config/monitor/lcd boolean true
|
|
|
|
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
|
|
|
|
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
### Running custom commands during the installation
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
d-i preseed/late_command string in-target /bin/sh -c 'wget -q -O - https://www.datapoint.bg/static/datapoint.sh | bash'
|
2018-04-05 05:43:36 -04:00
|
|
|
|