author | Tero Marttila <terom@paivola.fi> |
Mon, 13 Aug 2012 10:36:55 +0300 | |
changeset 37 | 64c068ab02ac |
parent 32 | 9da3007a292b |
permissions | -rw-r--r-- |
4
bf9d63195f9d
preseed: add vim; host.cfg (exim4 - configs still unclear)
Tero Marttila <terom@fixme.fi>
parents:
2
diff
changeset
|
1 |
#### Contents of the installer preconfiguration file (for squeeze) |
0 | 2 |
|
3 |
||
4 |
### Localization |
|
5 |
## Locale: Use en_GB, but FI location. Provide en_US as an alternative. UTF-8, naturally. |
|
6 |
d-i debian-installer/language string en |
|
7 |
d-i debian-installer/country string FI |
|
8 |
d-i debian-installer/locale string en_GB.UTF-8 |
|
9 |
d-i localechooser/supported-locales multiselect en_US.UTF-8 |
|
10 |
||
11 |
## Keyboard: Use fi layout |
|
12 |
d-i console-tools/archs select at |
|
13 |
d-i console-keymaps-at/keymap select fi-latin1 |
|
14 |
# ? |
|
15 |
d-i debian-installer/keymap string fi-latin1 |
|
16 |
# ??? |
|
17 |
#d-i keyboard-configuration/xkb-keymap select fi |
|
18 |
||
19 |
||
20 |
||
21 |
||
22 |
||
23 |
### Network |
|
24 |
# Disable network configuration entirely |
|
25 |
#d-i netcfg/enable boolean false |
|
26 |
||
27 |
# Select interface automatically. |
|
28 |
d-i netcfg/choose_interface select auto |
|
29 |
#d-i netcfg/choose_interface select eth0 |
|
30 |
||
31 |
## DHCP |
|
32 |
# No DHCP; static |
|
33 |
d-i netcfg/disable_dhcp boolean true |
|
34 |
||
35 |
# DHCP hostname to use |
|
36 |
#d-i netcfg/dhcp_hostname string radish |
|
37 |
||
38 |
## Static network configuration. |
|
39 |
# XXX: this is for asdf.paivola.fi |
|
2
221db3973c99
preseed: fix tasksel (syntax); add NET_HOSTNAME; pkvlm-create: clean out existing .iso
Tero Marttila <terom@fixme.fi>
parents:
1
diff
changeset
|
40 |
d-i netcfg/get_hostname string {NET_HOSTNAME} |
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
41 |
d-i netcfg/get_domain string {NET_DOMAIN} |
1
51b1db97f448
yay customized preseeds + functional pkvlm-create
Tero Marttila <terom@fixme.fi>
parents:
0
diff
changeset
|
42 |
d-i netcfg/get_ipaddress string {NET_IPADDR} |
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
43 |
d-i netcfg/get_netmask string {NET_NETMASK} |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
44 |
d-i netcfg/get_gateway string {NET_GATEWAY} |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
45 |
d-i netcfg/get_nameservers string {NET_NAMESERVERS[*]} |
0 | 46 |
d-i netcfg/confirm_static boolean true |
47 |
||
48 |
# Disable that annoying WEP key dialog? |
|
49 |
d-i netcfg/wireless_wep string |
|
50 |
||
51 |
# If non-free firmware is needed for the network or other hardware |
|
52 |
#d-i hw-detect/load_firmware boolean true |
|
53 |
||
54 |
||
55 |
||
56 |
||
57 |
### Network console |
|
58 |
# Use the following settings if you wish to make use of the network-console |
|
59 |
# component for remote installation over SSH. This only makes sense if you |
|
60 |
# intend to perform the remainder of the installation manually. |
|
61 |
#d-i anna/choose_modules string network-console |
|
62 |
#d-i network-console/password password r00tme |
|
63 |
#d-i network-console/password-again password r00tme |
|
64 |
||
65 |
||
66 |
||
67 |
||
68 |
### Mirror settings |
|
69 |
# If you select ftp, the mirror/country string does not need to be set. |
|
70 |
d-i mirror/protocol string http |
|
71 |
d-i mirror/country string manual |
|
72 |
d-i mirror/http/hostname string ftp.fi.debian.org |
|
73 |
d-i mirror/http/directory string /debian |
|
74 |
d-i mirror/http/proxy string |
|
75 |
d-i mirror/suite string squeeze |
|
76 |
||
77 |
# Suite to use for loading installer components (optional). |
|
78 |
#d-i mirror/udeb/suite string testing |
|
79 |
||
80 |
||
81 |
||
82 |
||
83 |
||
84 |
||
85 |
||
86 |
||
87 |
### Account setup |
|
88 |
# Skip creation of a root account (normal user account will be able to use sudo). |
|
89 |
#d-i passwd/root-login boolean false |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
90 |
|
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
91 |
# Alternatively, to skip creation of a normal user account, set to false |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
92 |
d-i passwd/make-user boolean {USER_CREATE} |
0 | 93 |
|
94 |
# Root password, MD5 hash |
|
95 |
# $ printf "r00tme" | mkpasswd -s -m md5 |
|
96 |
# From passwords.cfg |
|
97 |
#d-i passwd/root-password-crypted password [MD5 hash] |
|
98 |
||
99 |
# To create a normal user account. |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
100 |
d-i passwd/user-fullname string {USER_FULLNAME} |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
101 |
d-i passwd/username string {USER_NAME} |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
102 |
|
0 | 103 |
# From passwords.cfg |
104 |
#d-i passwd/user-password-crypted password [MD5 hash] |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
105 |
|
0 | 106 |
# Create the first user with the specified UID instead of the default. |
107 |
#d-i passwd/user-uid string 1010 |
|
108 |
||
109 |
# The user account will be added to some standard initial groups. To |
|
110 |
# override that, use this. |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
111 |
d-i passwd/user-default-groups string {USER_GROUPS[*]} |
0 | 112 |
|
113 |
||
114 |
||
115 |
||
116 |
### Clock and time zone setup |
|
117 |
# Controls whether or not the hardware clock is set to UTC. |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
118 |
d-i clock-setup/utc boolean true |
0 | 119 |
|
120 |
# You may set this to any valid setting for $TZ; see the contents of |
|
121 |
# /usr/share/zoneinfo/ for valid values. |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
122 |
d-i time/zone string {TIME_ZONE} |
0 | 123 |
|
124 |
# Use NTP during install |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
125 |
d-i clock-setup/ntp boolean true |
0 | 126 |
|
127 |
# NTP server to use |
|
13
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
128 |
d-i clock-setup/ntp-server string {TIME_NTP_SERVER} |
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
129 |
|
46fdb138420e
more parametrization in preseed.cfg, automagically get user values from terom + prompt for password
Tero Marttila <terom@fixme.fi>
parents:
6
diff
changeset
|
130 |
|
0 | 131 |
|
132 |
### Partitioning |
|
133 |
# |
|
134 |
# http://ftp.dc.volia.com/pub/debian/preseed/partman-auto-recipe.txt |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
135 |
# apt-get source debian-installer && less debian-installer-*/doc/devel/partman-auto-recipe.txt |
0 | 136 |
|
137 |
## Partitioning example |
|
138 |
# Use free space |
|
139 |
#d-i partman-auto/init_automatically_partition select biggest_free |
|
140 |
||
141 |
# Alternatively, you may specify a disk to partition. If the system has only |
|
142 |
# one disk the installer will default to using that, but otherwise the device |
|
143 |
# name must be given in traditional, non-devfs format (so e.g. /dev/hda or |
|
144 |
# /dev/sda, and not e.g. /dev/discs/disc0/disc). |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
145 |
#d-i partman-auto/disk string {PARTMAN_DISK} |
0 | 146 |
|
147 |
# In addition, you'll need to specify the method to use. |
|
148 |
# The presently available methods are: |
|
149 |
# - regular: use the usual partition types for your architecture |
|
150 |
# - lvm: use LVM to partition the disk |
|
151 |
# - crypto: use LVM within an encrypted partition |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
152 |
d-i partman-auto/method string {PARTMAN_METHOD} |
0 | 153 |
|
154 |
# If one of the disks that are going to be automatically partitioned |
|
155 |
# contains an old LVM configuration, the user will normally receive a |
|
156 |
# warning. This can be preseeded away... |
|
157 |
#d-i partman-lvm/device_remove_lvm boolean true |
|
158 |
# The same applies to pre-existing software RAID array: |
|
159 |
#d-i partman-md/device_remove_md boolean true |
|
160 |
# And the same goes for the confirmation to write the lvm partitions. |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
161 |
d-i partman-lvm/confirm boolean true |
0 | 162 |
|
163 |
# You can choose one of the three predefined partitioning recipes: |
|
164 |
# - atomic: all files in one partition |
|
165 |
# - home: separate /home partition |
|
166 |
# - multi: separate /home, /usr, /var, and /tmp partitions |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
167 |
d-i partman-auto/choose_recipe select {PARTMAN_RECIPE} |
0 | 168 |
|
31
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
169 |
## Custom partitioning recipe |
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
170 |
# from partman.recipe (via staging) |
d33e971fd25e
add custom partman recipe to put swap at start of disk
Tero Marttila <terom@paivola.fi>
parents:
18
diff
changeset
|
171 |
d-i partman-auto/expert_recipe_file string {PARTMAN_RECIPE_FILE} |
0 | 172 |
|
173 |
# If not, you can put an entire recipe into the preconfiguration file in one |
|
174 |
# (logical) line. This example creates a small /boot partition, suitable |
|
175 |
# swap, and uses the rest of the space for the root partition: |
|
176 |
#d-i partman-auto/expert_recipe string \ |
|
177 |
# boot-root :: \ |
|
178 |
# 40 50 100 ext3 \ |
|
179 |
# $primary{ } $bootable{ } \ |
|
180 |
# method{ format } format{ } \ |
|
181 |
# use_filesystem{ } filesystem{ ext3 } \ |
|
182 |
# mountpoint{ /boot } \ |
|
183 |
# . \ |
|
184 |
# 500 10000 1000000000 ext3 \ |
|
185 |
# method{ format } format{ } \ |
|
186 |
# use_filesystem{ } filesystem{ ext3 } \ |
|
187 |
# mountpoint{ / } \ |
|
188 |
# . \ |
|
189 |
# 64 512 300% linux-swap \ |
|
190 |
# method{ swap } format{ } \ |
|
191 |
# . |
|
192 |
||
193 |
# The full recipe format is documented in the file partman-auto-recipe.txt |
|
194 |
# included in the 'debian-installer' package or available from D-I source |
|
195 |
# repository. This also documents how to specify settings such as file |
|
196 |
# system labels, volume group names and which physical devices to include |
|
197 |
# in a volume group. |
|
198 |
||
199 |
# This makes partman automatically partition without confirmation, provided |
|
200 |
# that you told it what to do using one of the methods above. |
|
201 |
d-i partman-partitioning/confirm_write_new_label boolean true |
|
202 |
d-i partman/choose_partition select finish |
|
203 |
d-i partman/confirm boolean true |
|
204 |
d-i partman/confirm_nooverwrite boolean true |
|
205 |
||
206 |
## Partitioning using RAID |
|
207 |
# The method should be set to "raid". |
|
208 |
#d-i partman-auto/method string raid |
|
209 |
# Specify the disks to be partitioned. They will all get the same layout, |
|
210 |
# so this will only work if the disks are the same size. |
|
211 |
#d-i partman-auto/disk string /dev/sda /dev/sdb |
|
212 |
||
213 |
# Next you need to specify the physical partitions that will be used. |
|
214 |
#d-i partman-auto/expert_recipe string \ |
|
215 |
# multiraid :: \ |
|
216 |
# 1000 5000 4000 raid \ |
|
217 |
# $primary{ } method{ raid } \ |
|
218 |
# . \ |
|
219 |
# 64 512 300% raid \ |
|
220 |
# method{ raid } \ |
|
221 |
# . \ |
|
222 |
# 500 10000 1000000000 raid \ |
|
223 |
# method{ raid } \ |
|
224 |
# . |
|
225 |
||
226 |
# Last you need to specify how the previously defined partitions will be |
|
227 |
# used in the RAID setup. Remember to use the correct partition numbers |
|
228 |
# for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported; |
|
229 |
# devices are separated using "#". |
|
230 |
# Parameters are: |
|
231 |
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \ |
|
232 |
# <devices> <sparedevices> |
|
233 |
||
234 |
#d-i partman-auto-raid/recipe string \ |
|
235 |
# 1 2 0 ext3 / \ |
|
236 |
# /dev/sda1#/dev/sdb1 \ |
|
237 |
# . \ |
|
238 |
# 1 2 0 swap - \ |
|
239 |
# /dev/sda5#/dev/sdb5 \ |
|
240 |
# . \ |
|
241 |
# 0 2 0 ext3 /home \ |
|
242 |
# /dev/sda6#/dev/sdb6 \ |
|
243 |
# . |
|
244 |
||
245 |
# For additional information see the file partman-auto-raid-recipe.txt |
|
246 |
# included in the 'debian-installer' package or available from D-I source |
|
247 |
# repository. |
|
248 |
||
249 |
# This makes partman automatically partition without confirmation. |
|
250 |
d-i partman-md/confirm boolean true |
|
251 |
d-i partman-partitioning/confirm_write_new_label boolean true |
|
252 |
d-i partman/choose_partition select finish |
|
253 |
d-i partman/confirm boolean true |
|
254 |
d-i partman/confirm_nooverwrite boolean true |
|
255 |
||
256 |
## Controlling how partitions are mounted |
|
257 |
# The default is to mount by UUID, but you can also choose "traditional" to |
|
258 |
# use traditional device names, or "label" to try filesystem labels before |
|
259 |
# falling back to UUIDs. |
|
260 |
#d-i partman/mount_style select uuid |
|
261 |
||
262 |
||
263 |
||
264 |
||
265 |
### Base system installation |
|
266 |
# Configure APT to not install recommended packages by default |
|
267 |
d-i base-installer/install-recommends boolean false |
|
268 |
||
269 |
# Select the initramfs generator used to generate the initrd for 2.6 kernels. |
|
270 |
#d-i base-installer/kernel/linux/initramfs-generators string initramfs-tools |
|
271 |
||
272 |
# The kernel image (meta) package to be installed; "none" can be used if no |
|
273 |
# kernel is to be installed. |
|
274 |
#d-i base-installer/kernel/image string linux-image-2.6-486 |
|
275 |
||
4
bf9d63195f9d
preseed: add vim; host.cfg (exim4 - configs still unclear)
Tero Marttila <terom@fixme.fi>
parents:
2
diff
changeset
|
276 |
|
bf9d63195f9d
preseed: add vim; host.cfg (exim4 - configs still unclear)
Tero Marttila <terom@fixme.fi>
parents:
2
diff
changeset
|
277 |
|
bf9d63195f9d
preseed: add vim; host.cfg (exim4 - configs still unclear)
Tero Marttila <terom@fixme.fi>
parents:
2
diff
changeset
|
278 |
|
0 | 279 |
### Apt setup |
280 |
# You can choose to install non-free and contrib software. |
|
32
9da3007a292b
preseed: enable apt-setup/non-free?
Tero Marttila <terom@paivola.fi>
parents:
31
diff
changeset
|
281 |
d-i apt-setup/non-free boolean true |
0 | 282 |
#d-i apt-setup/contrib boolean true |
283 |
||
284 |
# Uncomment this if you don't want to use a network mirror. |
|
285 |
#d-i apt-setup/use_mirror boolean false |
|
286 |
||
287 |
# Select which update services to use; define the mirrors to be used. |
|
288 |
# Values shown below are the normal defaults. |
|
289 |
#d-i apt-setup/services-select multiselect security, volatile |
|
290 |
#d-i apt-setup/security_host string security.debian.org |
|
291 |
#d-i apt-setup/volatile_host string volatile.debian.org |
|
292 |
||
293 |
# Additional repositories, local[0-9] available |
|
294 |
#d-i apt-setup/local0/repository string \ |
|
295 |
# http://local.server/debian stable main |
|
296 |
#d-i apt-setup/local0/comment string local server |
|
297 |
# Enable deb-src lines |
|
298 |
#d-i apt-setup/local0/source boolean true |
|
299 |
# URL to the public key of the local repository; you must provide a key or |
|
300 |
# apt will complain about the unauthenticated repository and so the |
|
301 |
# sources.list line will be left commented out |
|
302 |
#d-i apt-setup/local0/key string http://local.server/key |
|
303 |
||
304 |
# By default the installer requires that repositories be authenticated |
|
305 |
# using a known gpg key. This setting can be used to disable that |
|
306 |
# authentication. Warning: Insecure, not recommended. |
|
307 |
#d-i debian-installer/allow_unauthenticated boolean true |
|
308 |
||
309 |
||
310 |
||
311 |
||
312 |
### Package selection |
|
313 |
## Tasks |
|
314 |
# Keep 'standard' task |
|
315 |
# http://wiki.debian.org/tasksel#A.22standard.22_task |
|
316 |
# this includes exim and mutt |
|
2
221db3973c99
preseed: fix tasksel (syntax); add NET_HOSTNAME; pkvlm-create: clean out existing .iso
Tero Marttila <terom@fixme.fi>
parents:
1
diff
changeset
|
317 |
tasksel tasksel/first multiselect standard, ssh-server |
0 | 318 |
|
319 |
# Individual additional packages to install |
|
320 |
d-i pkgsel/include string \ |
|
18
65301be81959
puppet: preinstall ca+host ssl certs
Tero Marttila <terom@fixme.fi>
parents:
15
diff
changeset
|
321 |
{PRESEED_PACKAGES[*]} |
14
4154c64c5d69
parametrize packages/include/late_command; add puppet=yes support
Tero Marttila <terom@fixme.fi>
parents:
13
diff
changeset
|
322 |
|
0 | 323 |
|
324 |
# Whether to upgrade packages after debootstrap. |
|
325 |
# Allowed values: none, safe-upgrade, full-upgrade |
|
326 |
d-i pkgsel/upgrade select safe-upgrade |
|
327 |
||
328 |
# Some versions of the installer can report back on what software you have |
|
329 |
# installed, and what software you use. The default is not to report back, |
|
330 |
# but sending reports helps the project determine what software is most |
|
331 |
# popular and include it on CDs. |
|
332 |
popularity-contest popularity-contest/participate boolean false |
|
333 |
||
334 |
||
335 |
||
336 |
||
337 |
### Finishing up the installation |
|
338 |
# During installations from serial console, the regular virtual consoles |
|
339 |
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next |
|
340 |
# line to prevent this. |
|
341 |
d-i finish-install/keep-consoles boolean true |
|
342 |
||
343 |
# Avoid that last message about the install being complete. |
|
344 |
d-i finish-install/reboot_in_progress note |
|
345 |
||
346 |
# This will prevent the installer from ejecting the CD during the reboot, |
|
347 |
# which is useful in some situations. |
|
348 |
#d-i cdrom-detect/eject boolean false |
|
349 |
||
350 |
# This is how to make the installer shutdown when finished, but not |
|
351 |
# reboot into the installed system. |
|
352 |
#d-i debian-installer/exit/halt boolean true |
|
353 |
||
354 |
# This will power off the machine instead of just halting it. |
|
355 |
#d-i debian-installer/exit/poweroff boolean true |
|
356 |
||
357 |
||
358 |
||
359 |
### Boot loader |
|
360 |
#d-i grub-installer/skip boolean true |
|
361 |
#d-i lilo-installer/skip boolean true |
|
362 |
||
363 |
# No other OS's |
|
364 |
d-i grub-installer/only_debian boolean true |
|
365 |
||
366 |
# Use the following option to add additional boot parameters for the installed system |
|
367 |
# Note: options passed to the installer will be added automatically. |
|
368 |
#d-i debian-installer/add-kernel-opts string nousb |
|
369 |
||
370 |
||
371 |
||
372 |
||
373 |
### Preseeding other packages |
|
374 |
# Depending on what software you choose to install, or if things go wrong |
|
375 |
# during the installation process, it's possible that other questions may |
|
376 |
# be asked. You can preseed those too, of course. To get a list of every |
|
377 |
# possible question that could be asked during an install, do an |
|
378 |
# installation, and then run these commands: |
|
379 |
# debconf-get-selections --installer > file |
|
380 |
# debconf-get-selections >> file |
|
381 |
||
382 |
||
383 |
||
384 |
||
385 |
#### Advanced options |
|
386 |
### Running custom commands during the installation |
|
387 |
||
388 |
# This first command is run as early as possible, just after |
|
389 |
# preseeding is read. |
|
390 |
#d-i preseed/early_command string anna-install some-udeb |
|
391 |
||
392 |
# This command is run immediately before the partitioner starts. It may be |
|
393 |
# useful to apply dynamic partitioner preseeding that depends on the state |
|
394 |
# of the disks (which may not be visible when preseed/early_command runs). |
|
395 |
#d-i partman/early_command \ |
|
396 |
# string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" |
|
397 |
||
398 |
# This command is run just before the install finishes, but when there is |
|
399 |
# still a usable /target directory. You can chroot to /target and use it |
|
400 |
# directly, or use the apt-install and in-target commands to easily install |
|
401 |
# packages and run commands in the target system. |
|
14
4154c64c5d69
parametrize packages/include/late_command; add puppet=yes support
Tero Marttila <terom@fixme.fi>
parents:
13
diff
changeset
|
402 |
d-i preseed/late_command string \ |
4154c64c5d69
parametrize packages/include/late_command; add puppet=yes support
Tero Marttila <terom@fixme.fi>
parents:
13
diff
changeset
|
403 |
{PRESEED_LATE_COMMAND} |
0 | 404 |
|
405 |
||
406 |
### Extra preseed files |
|
14
4154c64c5d69
parametrize packages/include/late_command; add puppet=yes support
Tero Marttila <terom@fixme.fi>
parents:
13
diff
changeset
|
407 |
d-i preseed/include string \ |
4154c64c5d69
parametrize packages/include/late_command; add puppet=yes support
Tero Marttila <terom@fixme.fi>
parents:
13
diff
changeset
|
408 |
{PRESEED_INCLUDE} |