preseed.cfg.in 2.2 KB
Newer Older
Jonas Smedegaard's avatar
Jonas Smedegaard committed
1 2 3 4 5
# This is a debian-installer preseeding profile for ShowMeBox
# ShowMeBox Homepage: https://wiki.debian.org/ShowMeBox
# Source of this code: git://git.debian.org/showme/box

[% pkgdesc %]
6
tasksel tasksel/first multiselect standard, ssh-server
Jonas Smedegaard's avatar
Jonas Smedegaard committed
7 8
d-i pkgsel/include string [% pkglist %]

9 10 11 12
# localization
#  * use English (South Africa) by default
#  * enable official regional languages of South Africa
#  * setup us style keyboard
13 14 15 16
d-i debian-installer/locale string en_ZA
d-i localechooser/supported-locales multiselect af_ZA.UTF-8, en_ZA.UTF-8, nr_ZA, nso_ZA, ss_ZA, st_ZA.UTF-8, tn_ZA, ts_ZA, ve_ZA, xh_ZA.UTF-8, zu_ZA.UTF-8
d-i keyboard-configuration/xkb-keymap select us

Jonas Smedegaard's avatar
Jonas Smedegaard committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30
# silence misc. questions
#  * attempt to auto-detect hardware
#  * set hostname and domain
#  * disable direct root login (use sudo instead)
#  * report usage statistics back to Debian developers
#  * restart libc-based services without asking
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string showmebox
d-i netcfg/get_domain string localdomain
d-i netcfg/hostname string showmebox
d-i passwd/root-login boolean false
popularity-contest popularity-contest/participate boolean true
libc6 libraries/restart-without-asking boolean true

31 32 33
# user account
#  * create account "debian" for user "Debian user"
#  * set password to "insecure"
34 35 36 37 38
d-i passwd/user-fullname string Debian User
d-i passwd/username string debian
d-i passwd/user-password password insecure
d-i passwd/user-password-again password insecure

39 40 41
# system disk
#  * use SD-card as target, replacing installer with final system
#  * use partition scheme "atomic", to avoid some forms of disk full damage
42 43 44 45 46 47 48 49
d-i partman-auto/disk string /dev/mmcblk0
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
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

Jonas Smedegaard's avatar
Jonas Smedegaard committed
50 51 52 53
# enable unattended-upgrades
unattended-upgrades unattended-upgrades/enable_auto_updates boolean true

[% tweakdesc %]
54 55
d-i preseed/late_command string set -e;\
 suite=[% suite %][% IF pkgautolist %];\
Jonas Smedegaard's avatar
Jonas Smedegaard committed
56
 chroot /target apt-mark auto \
57
  [% pkgautolist %] || true[% END %];\
Jonas Smedegaard's avatar
Jonas Smedegaard committed
58
 [% tweaklist %]