aboutsummaryrefslogtreecommitdiff
path: root/netmap/http/preseed.cfg
blob: 730b249931cddba9122e218c7c52b75a255815b7 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
choose-mirror-bin mirror/http/proxy string
d-i apt-setup/use_mirror boolean true
d-i base-installer/kernel/override-image string linux-server

d-i clock-setup/utc boolean true
d-i clock-setup/utc-auto boolean true

d-i finish-install/reboot_in_progress note

d-i grub-installer/bootdev string default
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

d-i keymap select us

d-i mirror/country string manual
d-i mirror/http/directory string /debian
d-i mirror/http/hostname string http.debian.net
d-i mirror/http/proxy string

d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm 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/confirm_write_new_label boolean true

d-i passwd/root-login boolean true
d-i passwd/root-password-again password root
d-i passwd/root-password password root
d-i passwd/user-fullname string tester
d-i passwd/username string packer
d-i passwd/user-uid string 1001
d-i passwd/user-password password packer
d-i passwd/user-password-again password packer

#include common/non-free
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# include packages
d-i pkgsel/include string sudo git make linux-headers-$(uname -r) ethtool \
	build-essential vim automake libtool libssl-dev asciidoctor asciidoctor-doc \
	libcunit1 libcunit1-dev

d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select unattended-upgrades

# Update system
# d-i pkgsel/upgrade select full-upgrade

# Prevent packaged version of VirtualBox Guest Additions being installed:
d-i preseed/early_command string sed -i \
	'/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
	/usr/lib/pre-pkgsel.d/20install-hwpackages

d-i time/zone string UTC

d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false

d-i preseed/late_command string sed -i '/^deb cdrom:/s/^/#/' /target/etc/apt/sources.list

apt-cdrom-setup apt-setup/cdrom/set-first boolean false
apt-mirror-setup apt-setup/use_mirror boolean true

popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect standard, ssh-server

# Install cpe-tester on sudoers, will be deleted after installation
d-i preseed/late_command string \
	echo "packer ALL=(ALL:ALL) NOPASSWD:ALL" > /target/etc/sudoers.d/packer && chmod 0440 /target/etc/sudoers.d/packer