blob: ed899558251ced15aed9cf8b6fec608ef57ade9a [file] [log] [blame]
azvyagintsev393dc8e2018-11-19 11:31:26 +02001choose-mirror-bin mirror/http/proxy string
azvyagintsevbe158632018-12-13 20:23:52 +02002d-i mirror/country string manual
3d-i apt-setup/use_mirror boolean false
4
azvyagintsev393dc8e2018-11-19 11:31:26 +02005d-i debian-installer/locale string en_US
6d-i debian-installer/language string en
7d-i debian-installer/country EN
8
9d-i pkgsel/install-language-support boolean false
10
11d-i debian-installer/framebuffer boolean false
12d-i debconf/frontend select noninteractive
13d-i base-installer/kernel/override-image string linux-server
14d-i clock-setup/utc boolean true
15d-i clock-setup/utc-auto boolean true
16d-i finish-install/reboot_in_progress note
17d-i grub-installer/only_debian boolean true
18d-i grub-installer/with_other_os boolean true
19d-i netcfg/get_domain string unassigned-domain
20d-i netcfg/get_hostname string unassigned-hostname
21
22d-i partman-auto/disk string /dev/sda /dev/vda
Vasyl Saienkoba5bc5a2018-11-22 15:02:49 +020023# Use LVM for partitioning
24d-i partman-auto/method string lvm
azvyagintsev393dc8e2018-11-19 11:31:26 +020025
Vasyl Saienkoba5bc5a2018-11-22 15:02:49 +020026# GPT
27
28d-i partman-basicfilesystems/choose_label string gpt
29d-i partman-basicfilesystems/default_label string gpt
30d-i partman-partitioning/choose_label string gpt
31d-i partman-partitioning/default_label string gpt
32d-i partman/choose_label string gpt
33d-i partman/default_label string gpt
34
35# GPT
36
37d-i partman-auto-lvm/guided_size string max
38
39# If one of the disks that are going to be automatically partitioned
40# contains an old LVM configuration, the user will normally receive a
41# warning. Preseed this away
42d-i partman-lvm/device_remove_lvm boolean true
43
44# And the same goes for the confirmation to write the lvm partitions.
45d-i partman-lvm/confirm boolean true
46
47# Really, please don't prompt me!
48d-i partman-lvm/confirm_nooverwrite boolean true
49
50d-i partman-auto/expert_recipe string \
51 vcp_lvm :: \
52 1 1 1 free \
53 $gptonly{ } \
54 $primary{ } \
55 $bios_boot{ } \
56 method{ biosgrub } \
57 . \
58 1051 2 1051 ext3 \
59 $gptonly{ } \
60 $primary{ } \
61 method{ format } format{ } \
62 use_filesystem{ } filesystem{ ext3 } \
63 lable{ lable-boot } \
64 mountpoint{ /boot } \
65 . \
66 10 10 10 ext4 \
67 $defaultignore{ } \
68 $gptonly{ } \
69 $primary{ } \
70 method{ lvm } \
71 vg_name{ vg0 } \
72 . \
73 105 2 105 ext4 \
74 $lvmok{ } \
75 in_vg{ vg0 } \
76 lv_name{ home } \
77 method{ lvm } format{ } \
78 use_filesystem{ } filesystem{ ext4 } \
79 mountpoint{ /home } \
80 options/nodev{ nodev } \
81 . \
82 105 2 105 ext4 ext4 \
83 $lvmok{ } \
84 in_vg{ vg0 } \
85 lv_name{ tmp } \
86 method{ lvm } format{ } \
87 use_filesystem{ } filesystem{ ext4 } \
88 mountpoint{ /tmp } \
89 options/nodev{ nodev } \
90 options/nosuid{ nosuid } \
91 options/noexec{ noexec } \
92 . \
93 105 2 105 ext4 \
94 $lvmok{ } \
95 in_vg{ vg0 } \
96 lv_name{ var_log } \
97 method{ format } format{ } \
98 use_filesystem{ } filesystem{ ext4 } \
99 mountpoint{ /var/log } \
100 options/noexec{ noexec } \
101 . \
102 315 2 315 ext4 ext4 \
103 $lvmok{ } \
104 in_vg{ vg0 } \
105 lv_name{ var_tmp } \
106 method{ format } format{ } \
107 use_filesystem{ } filesystem{ ext4 } \
108 mountpoint{ /var/tmp } \
109 options/nodev{ nodev } \
110 options/nosuid{ nosuid } \
111 options/noexec{ noexec } \
112 . \
113 105 2 105 ext4 ext4 \
114 $lvmok{ } \
115 in_vg{ vg0 } \
116 lv_name{ var_log_audit } \
117 method{ format } format{ } \
118 use_filesystem{ } filesystem{ ext4 } \
119 mountpoint{ /var/log/audit } \
120 options/noexec{ noexec } \
121 . \
122 2154 2 65536 ext4 \
123 $lvmok{ } \
124 method{ format } format{ } \
125 use_filesystem{ } filesystem{ ext4 } \
126 mountpoint{ / } \
127 in_vg{ vg0 } \
128 lv_name{ root } \
129 .
130
131d-i partman-auto/choose_recipe select vcp_lvm
132
133partman-basicfilesystems partman-basicfilesystems/no_swap boolean false
134
135# This makes partman automatically partition without confirmation, provided
136# that you told it what to do using one of the methods above.
137d-i partman-partitioning/confirm_write_new_label boolean true
138d-i partman/choose_partition select finish
139d-i partman/confirm boolean true
140d-i partman/confirm_nooverwrite boolean true
141
azvyagintsev393dc8e2018-11-19 11:31:26 +0200142d-i pkgsel/include string openssh-server
143d-i pkgsel/install-language-support boolean false
144d-i pkgsel/update-policy select none
145popularity-contest popularity-contest/participate boolean false
146
147d-i pkgsel/upgrade select none
148
149d-i time/zone string UTC
azvyagintsevbe158632018-12-13 20:23:52 +0200150d-i passwd/root-password password r00tme
151d-i passwd/root-password-again password r00tme
azvyagintsev393dc8e2018-11-19 11:31:26 +0200152d-i passwd/root-login boolean true
153d-i passwd/make-user boolean false
154d-i openssh-server/permit-root-login boolean true
155d-i user-setup/allow-password-weak boolean true
156d-i user-setup/encrypt-home boolean false
157tasksel tasksel/first multiselect minimal, ssh-server, openssh-server
158
159d-i preseed/late_command string \
160 in-target sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config