81 lines
3.0 KiB
INI
81 lines
3.0 KiB
INI
|
# Locale Setup
|
||
|
d-i debian-installer/language string en
|
||
|
d-i debian-installer/country string US
|
||
|
d-i debian-installer/locale string en_US.UTF-8
|
||
|
|
||
|
# Keyboard Setup
|
||
|
d-i keyboard-configuration/xkb-keymap select us
|
||
|
|
||
|
# Clock Setup
|
||
|
d-i time/zone string Europe/Paris
|
||
|
# d-i time/zone string Canada/Eastern
|
||
|
# Configure hardware clock
|
||
|
d-i clock-setup/utc boolean true
|
||
|
d-i clock-setup/utc-auto boolean true
|
||
|
# set above to false if making a bootable USB to run on same system as Windows
|
||
|
|
||
|
# Network Setup
|
||
|
# https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/713385
|
||
|
#d-i netcfg/choose_interface select auto
|
||
|
# make sure you also add "interface=auto" to your boot command too
|
||
|
# https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/713385
|
||
|
|
||
|
# User Setup
|
||
|
d-i passwd/root-login boolean true
|
||
|
d-i passwd/root-password-again password packer
|
||
|
d-i passwd/root-password password packer
|
||
|
d-i passwd/user-fullname string packer
|
||
|
d-i passwd/user-uid string 1000
|
||
|
d-i passwd/user-password password packer
|
||
|
d-i passwd/user-password-again password packer
|
||
|
d-i passwd/username string packer
|
||
|
|
||
|
# Package Setup
|
||
|
d-i apt-setup/cdrom/set-first boolean false
|
||
|
d-i apt-setup/cdrom/set-next boolean false
|
||
|
d-i apt-setup/cdrom/set-failed boolean false
|
||
|
|
||
|
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
|
||
|
# d-i mirror/http/proxy string ${var.apt_cache_url}
|
||
|
d-i apt-setup/contrib boolean true
|
||
|
d-i apt-setup/non-free boolean true
|
||
|
tasksel tasksel/first multiselect ssh-server, standard
|
||
|
d-i pkgsel/include string sudo, unattended-upgrades, dpkg
|
||
|
popularity-contest popularity-contest/participate boolean false
|
||
|
|
||
|
# Whether to upgrade packages after debootstrap
|
||
|
d-i pkgsel/upgrade select full-upgrade
|
||
|
|
||
|
# Disk configuration
|
||
|
d-i partman-basicfilesystems/choose_label string gpt
|
||
|
d-i partman-basicfilesystems/default_label string gpt
|
||
|
d-i partman-partitioning/choose_label string gpt
|
||
|
d-i partman-partitioning/default_label string gpt
|
||
|
d-i partman/choose_label string gpt
|
||
|
d-i partman/default_label string gpt
|
||
|
partman-partitioning partman-partitioning/choose_label select gpt
|
||
|
d-i partman-auto/disk string /dev/xvda
|
||
|
d-i partman-auto/method string regular
|
||
|
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-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 grub-installer/only_debian boolean true
|
||
|
d-i grub-installer/with_other_os boolean true
|
||
|
d-i grub-installer/bootdev string /dev/xvda
|
||
|
|
||
|
# install tools
|
||
|
d-i preseed/late_command string in-target wget https://github.com/xenserver/xe-guest-utilities/releases/download/v7.20.2/xe-guest-utilities_7.20.2-1_amd64.deb; in-target export RUNLEVEL=1; in-target dpkg -i xe-guest-utilities_7.20.2-1_amd64.deb
|
||
|
# Final Setup
|
||
|
d-i finish-install/reboot_in_progress note
|