-
Notifications
You must be signed in to change notification settings - Fork 34
/
preseed.cfg
49 lines (41 loc) · 1.8 KB
/
preseed.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
choose-mirror-bin mirror/http/proxy string
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i debian-installer/locale string en_US.UTF-8
d-i time/zone string UTC
d-i clock-setup/utc boolean true
d-i clock-setup/utc-auto boolean true
d-i keyboard-configuration/xkb-keymap select us
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-auto/expert_recipe string myroot :: 1000 50 -1 ext4 \
$primary{ } $bootable{ } method{ format } \
format{ } use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
d-i partman-auto/choose_recipe select myroot
d-i partman-auto/method string regular
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-swapfile/percentage string 0
d-i partman-swapfile/size string 0
d-i passwd/root-password-again password sdr
d-i passwd/root-password password sdr
d-i passwd/user-fullname string sdr (password is sdr)
d-i passwd/username string sdr
d-i passwd/user-password password sdr
d-i passwd/user-password-again password sdr
d-i passwd/auto-login boolean false
d-i user-setup/allow-password-weak boolean true
d-i netcfg/choose_interface select auto
d-i pkgsel/include string curl openssh-server sudo
d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
tasksel tasksel/first multiselect standard, ubuntu-server
d-i finish-install/reboot_in_progress note
d-i preseed/late_command string \
echo 'Defaults:sdr !requiretty' > /target/etc/sudoers.d/sdr; \
echo 'sdr ALL=(ALL) NOPASSWD: ALL' >> /target/etc/sudoers.d/sdr; \
chmod 440 /target/etc/sudoers.d/sdr;