babelbox-packer/http/preseed.cfg

99 lines
3.6 KiB
INI
Raw Permalink Normal View History

### Localization
d-i debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string US
2016-02-26 18:33:27 +01:00
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales multiselect en_US.UTF-8, de_DE.UTF-8
# Keyboard selection.
d-i console-tools/archs select at
d-i console-keymaps-at/keymap select de
d-i keyboard-configuration/xkb-keymap select de
### Network configuration
2016-02-26 18:33:27 +01:00
d-i netcfg/choose_interface select auto
### Mirror settings
2016-02-26 18:33:27 +01:00
d-i mirror/country string manual
d-i mirror/http/hostname string httpredir.debian.org
2016-02-26 18:33:27 +01:00
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
### Account setup
2016-02-26 18:33:27 +01:00
d-i passwd/root-login boolean false
d-i passwd/user-fullname string Babelbox Demo User
d-i passwd/username string demo
d-i passwd/user-password-crypted password $6$M0jXQ0qT0W$4aZR9JeivSUot1WpUv5elFOEz2lZ6D4a67NMu40OR3ocHeDQIN.bkBV/JAGINgZ9tp.yLQL7wGGhLM2ZJZ9Mp/
### Clock and time zone setup
2016-02-26 18:33:27 +01:00
d-i clock-setup/utc boolean true
d-i time/zone string GMT+0
2016-02-26 18:33:27 +01:00
d-i clock-setup/ntp boolean false
### Partitioning
#d-i partman-auto/disk string /dev/sda
2016-02-26 18:33:27 +01:00
d-i partman-lvm/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string \
root :: \
6144 50 6144 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
512 90 512 linux-swap \
$primary{ } \
method{ swap } \
format{ } \
. \
1 1000 -1 ext4 \
$primary{ } \
method{ keep } \
.
d-i partman-auto/choose_recipe select root
d-i partman-basicmethods/method_only boolean false
2016-02-26 18:33:27 +01:00
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
### Apt setup
d-i apt-setup/non-free boolean false
d-i apt-setup/contrib boolean false
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
2016-02-26 18:33:27 +01:00
d-i base-installer/install-recommends boolean false
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
### Package selection
2016-02-26 18:33:27 +01:00
tasksel tasksel/first multiselect standard
d-i pkgsel/include string parted openssh-server acpid sudo ca-certificates curl
d-i pkgsel/upgrade select safe-upgrade
popularity-contest popularity-contest/participate boolean false
### GRUB
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string default
### Finishing up the installation
d-i finish-install/keep-consoles boolean true
2016-02-26 18:33:27 +01:00
d-i finish-install/reboot_in_progress note
# Setup passwordless sudo for demo
d-i preseed/late_command string \
echo "demo ALL=(ALL:ALL) NOPASSWD:ALL" > /target/etc/sudoers.d/demo ; \
in-target chmod 0440 /etc/sudoers.d/demo