-
Notifications
You must be signed in to change notification settings - Fork 2
/
preseed.cfg
74 lines (55 loc) · 2.3 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
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
d-i debconf debconf/frontend select Noninteractive
d-i debian-installer/locale string en_US.UTF-8
d-i console-keymaps-at/keymap select us
d-i mirror/country string enter information manually
# check the http://http.kali.org/README.mirrorlist for mirror list
d-i mirror/http/hostname string kali.download
d-i mirror/http/directory string /kali
d-i keyboard-configuration/xkb-keymap select us
d-i mirror/http/proxy string
d-i mirror/suite string kali-rolling
d-i mirror/codename string kali-rolling
d-i clock-setup/utc boolean true
d-i time/zone string Asia/Tokyo
# Disable security, volatile and backports
d-i apt-setup/services-select multiselect
# Enable contrib and non-free
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# Disable source repositories too
d-i apt-setup/enable-source-repositories boolean false
d-i apt-setup/use_mirror boolean true
# Partitioning
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/default_filesystem string ext4
d-i partman/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
# Upgrade installed packages
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/include string spice-vdagent, xsel
macchanger macchanger/automatically_run boolean false
kismet kismet-capture-common/install-setuid boolean false
# Disable popularity-contest
popularity-contest popularity-contest/participate boolean false
wireshark-common wireshark-common/install-setuid boolean true
sslh sslh/inetd_or_standalone select standalone
tasksel tasksel/first multiselect desktop, desktop-xfce, meta, meta-top10, meta-default
tasksel tasksel/desktop multiselect xfce
tasksel tasksel/tasks multiselect
# Change default hostname
d-i netcfg/get_hostname string kali
d-i netcfg/get_domain string unassigned-domain
# Do not create a normal user account
d-i passwd/make-user boolean false
d-i passwd/root-password password toor
d-i passwd/root-password-again password toor
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean false
d-i grub-installer/bootdev string /dev/vda
d-i finish-install/reboot_in_progress note
d-i preseed/late_command string \
cp post.sh /target/tmp/ && chmod +x /target/tmp/post.sh; \
in-target /tmp/post.sh