Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 553 lines (463 sloc) 23.998 kb
23f3639 @cal first commit
authored
1
2 # People should live in Sweden
3 d-i debian-installer/country string SE
4
5 # Computers should speak English
6 d-i debian-installer/language string en
7 d-i debian-installer/locale string en_US.UTF-8
8 d-i localechooser/preferred-locale string en_US.UTF-8
9 d-i localechooser/supported-locales en_US.UTF-8
10
11 # But keyboards are Swedish
12 d-i console-setup/ask_detect boolean false
fa37b54 @cal Swedish keyboard
authored
13 d-i keyboard-configuration/layout select Swedish
14 d-i keyboard-configuration/variant select Swedish
15 d-i keyboard-configuration/modelcode string pc105
16 d-i keyboard-configuration/layoutcode string se
17 d-i keyboard-configuration/xkb-keypam select se
23f3639 @cal first commit
authored
18
19 # Pick any network interface and go with it
20 d-i netcfg/get_hostname string vagrant-ubuntu-precise
21 d-i netcfg/get_domain string vagrantup.com
22
23 # What's a vagrant?
24 d-i passwd/user-fullname string
25 d-i passwd/username string vagrant
26 d-i passwd/user-password password vagrant
27 d-i passwd/user-password-again password vagrant
28 d-i user-setup/allow-password-weak boolean true
29 d-i user-setup/encrypt-home boolean false
30
31 # We've got all the time in the world
32 d-i time/zone string Europe/Stockholm
33 d-i clock-setup/utc boolean true
34
35 # Need to do something about that disk
36 d-i partman-auto/method string regular
37 #d-i partman-auto/disk string
38 #d-i partman-auto/choose_recipe select atomic
39 d-i partman-partitioning/confirm_write_new_label boolean true
40 d-i partman/choose_partition select finish
41 d-i partman/confirm boolean true
42 d-i partman/confirm_nooverwrite boolean true
43
44 # No proxy, please
45 d-i mirror/http/proxy string
46
47 # Only install the standard system and language packs.
48 tasksel tasksel/first multiselect
a5605aa @cal Not needed?
authored
49 #d-i preseed/early_command string . /usr/share/debconf/confmodule; db_get debconf/priority; case $RET in low|medium) db_fset tasksel/first seen false; echo 'tasksel tasksel/first seen false' >>/var/lib/preseed/log ;; esac
50 #d-i pkgsel/language-pack-patterns string
51
23f3639 @cal first commit
authored
52 # No language support packages.
a5605aa @cal Not needed?
authored
53 #d-i pkgsel/install-language-support boolean false
23f3639 @cal first commit
authored
54
e4769c6 @cal Required packages for vagrant base boxes
authored
55 # Individual additional packages to install
56 d-i pkgsel/include string build-essential ruby-dev rubygems puppet ssh
57
58 # Whether to upgrade packages after debootstrap.
59 # Allowed values: none, safe-upgrade, full-upgrade
60 #d-i pkgsel/upgrade select none
61
23f3639 @cal first commit
authored
62 # Go grub, go!
63 d-i grub-installer/only_debian boolean true
64
5c11cc9 @cal Use late_command for ssh key and final setup
authored
65 # Wrapping things up
66 d-i preseed/late_command string cp /cdrom/late_command.sh /target/tmp/late_command.sh && in-target chmod +x /tmp/late_command.sh && in-target /tmp/late_command.sh
67
fc95df7 @cal Halt at the end instead of rebooting
authored
68 # Shut down, already
23f3639 @cal first commit
authored
69 d-i finish-install/reboot_in_progress note
fc95df7 @cal Halt at the end instead of rebooting
authored
70 #d-i debian-installer/exit/halt boolean true
71 d-i debian-installer/exit/poweroff boolean true
23f3639 @cal first commit
authored
72
73 ##### cli.seed #####
74
75 # Only install the standard system and language packs.
76 #tasksel tasksel/first multiselect
77 #d-i preseed/early_command string . /usr/share/debconf/confmodule; db_get debconf/priority; case $RET in low|medium) db_fset tasksel/first seen false; echo 'tasksel tasksel/first seen false' >>/var/lib/preseed/log ;; esac
78 #d-i pkgsel/language-pack-patterns string
79 # No language support packages.
80 #d-i pkgsel/install-language-support boolean false
81
82 ##### example preseed.cfg #####
83
84 #### Contents of the preconfiguration file (for squeeze)
85 ### Localization
86 # Preseeding only locale sets language, country and locale.
87 #d-i debian-installer/locale string en_US
88
89 # The values can also be preseeded individually for greater flexibility.
90 #d-i debian-installer/language string en
91 #d-i debian-installer/country string NL
92 #d-i debian-installer/locale string en_GB.UTF-8
93 # Optionally specify additional locales to be generated.
94 #d-i localechooser/supported-locales en_US.UTF-8, nl_NL.UTF-8
95
96 # Keyboard selection.
97 # Disable automatic (interactive) keymap detection.
98 #d-i console-setup/ask_detect boolean false
99 #d-i console-setup/modelcode string pc105
100 #d-i console-setup/layoutcode string us
101 # To select a variant of the selected layout (if you leave this out, the
102 # basic form of the layout will be used):
103 #d-i console-setup/variantcode string dvorak
104
105 ### Network configuration
106 # Disable network configuration entirely. This is useful for cdrom
107 # installations on non-networked devices where the network questions,
108 # warning and long timeouts are a nuisance.
109 #d-i netcfg/enable boolean false
110
111 # netcfg will choose an interface that has link if possible. This makes it
112 # skip displaying a list if there is more than one interface.
113 #d-i netcfg/choose_interface select auto
114
115 # To pick a particular interface instead:
116 #d-i netcfg/choose_interface select eth1
117
118 # If you have a slow dhcp server and the installer times out waiting for
119 # it, this might be useful.
120 #d-i netcfg/dhcp_timeout string 60
121
122 # If you prefer to configure the network manually, uncomment this line and
123 # the static network configuration below.
124 #d-i netcfg/disable_dhcp boolean true
125
126 # If you want the preconfiguration file to work on systems both with and
127 # without a dhcp server, uncomment these lines and the static network
128 # configuration below.
129 #d-i netcfg/dhcp_failed note
130 #d-i netcfg/dhcp_options select Configure network manually
131
132 # Static network configuration.
133 #d-i netcfg/get_nameservers string 192.168.1.1
134 #d-i netcfg/get_ipaddress string 192.168.1.42
135 #d-i netcfg/get_netmask string 255.255.255.0
136 #d-i netcfg/get_gateway string 192.168.1.1
137 #d-i netcfg/confirm_static boolean true
138
139 # Any hostname and domain names assigned from dhcp take precedence over
140 # values set here. However, setting the values still prevents the questions
141 # from being shown, even if values come from dhcp.
142 #d-i netcfg/get_hostname string unassigned-hostname
143 #d-i netcfg/get_domain string unassigned-domain
144
145 # Disable that annoying WEP key dialog.
146 #d-i netcfg/wireless_wep string
147 # The wacky dhcp hostname that some ISPs use as a password of sorts.
148 #d-i netcfg/dhcp_hostname string radish
149
150 # If non-free firmware is needed for the network or other hardware, you can
151 # configure the installer to always try to load it, without prompting. Or
152 # change to false to disable asking.
153 #d-i hw-detect/load_firmware boolean true
154
155 ### Network console
156 # Use the following settings if you wish to make use of the network-console
157 # component for remote installation over SSH. This only makes sense if you
158 # intend to perform the remainder of the installation manually.
159 #d-i anna/choose_modules string network-console
160 #d-i network-console/password password r00tme
161 #d-i network-console/password-again password r00tme
162
163 ### Mirror settings
164 # If you select ftp, the mirror/country string does not need to be set.
165 #d-i mirror/protocol string ftp
166 #d-i mirror/country string manual
167 #d-i mirror/http/hostname string http.us.debian.org
168 #d-i mirror/http/directory string /ubuntu
169 #d-i mirror/http/proxy string
170
171 # Alternatively: by default, the installer uses CC.archive.ubuntu.com where
172 # CC is the ISO-3166-2 code for the selected country. You can preseed this
173 # so that it does so without asking.
174 #d-i mirror/http/mirror select CC.archive.ubuntu.com
175
176 # Suite to install.
177 #d-i mirror/suite string squeeze
178 # Suite to use for loading installer components (optional).
179 #d-i mirror/udeb/suite string squeeze
180 # Components to use for loading installer components (optional).
181 #d-i mirror/udeb/components multiselect main, restricted
182
183 ### Clock and time zone setup
184 # Controls whether or not the hardware clock is set to UTC.
185 #d-i clock-setup/utc boolean true
186
187 # You may set this to any valid setting for $TZ; see the contents of
188 # /usr/share/zoneinfo/ for valid values.
189 #d-i time/zone string US/Eastern
190
191 # Controls whether to use NTP to set the clock during the install
192 #d-i clock-setup/ntp boolean true
193 # NTP server to use. The default is almost always fine here.
194 #d-i clock-setup/ntp-server string ntp.example.com
195
196 ### Partitioning
197 ## Partitioning example
198 # If the system has free space you can choose to only partition that space.
199 # This is only honoured if partman-auto/method (below) is not set.
200 # Alternatives: custom, some_device, some_device_crypto, some_device_lvm.
201 #d-i partman-auto/init_automatically_partition select biggest_free
202
203 # Alternatively, you may specify a disk to partition. If the system has only
204 # one disk the installer will default to using that, but otherwise the device
205 # name must be given in traditional, non-devfs format (so e.g. /dev/hda or
206 # /dev/sda, and not e.g. /dev/discs/disc0/disc).
207 # For example, to use the first SCSI/SATA hard disk:
208 #d-i partman-auto/disk string /dev/sda
209 # In addition, you'll need to specify the method to use.
210 # The presently available methods are:
211 # - regular: use the usual partition types for your architecture
212 # - lvm: use LVM to partition the disk
213 # - crypto: use LVM within an encrypted partition
214 #d-i partman-auto/method string lvm
215
216 # If one of the disks that are going to be automatically partitioned
217 # contains an old LVM configuration, the user will normally receive a
218 # warning. This can be preseeded away...
219 #d-i partman-lvm/device_remove_lvm boolean true
220 # The same applies to pre-existing software RAID array:
221 #d-i partman-md/device_remove_md boolean true
222 # And the same goes for the confirmation to write the lvm partitions.
223 #d-i partman-lvm/confirm boolean true
224
225 # For LVM partitioning, you can select how much of the volume group to use
226 # for logical volumes.
227 #d-i partman-auto-lvm/guided_size string max
228 #d-i partman-auto-lvm/guided_size string 10GB
229 #d-i partman-auto-lvm/guided_size string 50%
230
231 # You can choose one of the three predefined partitioning recipes:
232 # - atomic: all files in one partition
233 # - home: separate /home partition
234 # - multi: separate /home, /usr, /var, and /tmp partitions
235 #d-i partman-auto/choose_recipe select atomic
236
237 # Or provide a recipe of your own...
238 # If you have a way to get a recipe file into the d-i environment, you can
239 # just point at it.
240 #d-i partman-auto/expert_recipe_file string /hd-media/recipe
241
242 # If not, you can put an entire recipe into the preconfiguration file in one
243 # (logical) line. This example creates a small /boot partition, suitable
244 # swap, and uses the rest of the space for the root partition:
245 #d-i partman-auto/expert_recipe string \
246 # boot-root :: \
247 # 40 50 100 ext3 \
248 # $primary{ } $bootable{ } \
249 # method{ format } format{ } \
250 # use_filesystem{ } filesystem{ ext3 } \
251 # mountpoint{ /boot } \
252 # . \
253 # 500 10000 1000000000 ext3 \
254 # method{ format } format{ } \
255 # use_filesystem{ } filesystem{ ext3 } \
256 # mountpoint{ / } \
257 # . \
258 # 64 512 300% linux-swap \
259 # method{ swap } format{ } \
260 # .
261
262 # If you just want to change the default filesystem from ext3 to something
263 # else, you can do that without providing a full recipe.
264 #d-i partman/default_filesystem string ext4
265
266 # The full recipe format is documented in the file partman-auto-recipe.txt
267 # included in the 'debian-installer' package or available from D-I source
268 # repository. This also documents how to specify settings such as file
269 # system labels, volume group names and which physical devices to include
270 # in a volume group.
271
272 # This makes partman automatically partition without confirmation, provided
273 # that you told it what to do using one of the methods above.
274 #d-i partman-partitioning/confirm_write_new_label boolean true
275 #d-i partman/choose_partition select finish
276 #d-i partman/confirm boolean true
277 #d-i partman/confirm_nooverwrite boolean true
278
279 ## Partitioning using RAID
280 # The method should be set to "raid".
281 #d-i partman-auto/method string raid
282 # Specify the disks to be partitioned. They will all get the same layout,
283 # so this will only work if the disks are the same size.
284 #d-i partman-auto/disk string /dev/sda /dev/sdb
285
286 # Next you need to specify the physical partitions that will be used.
287 #d-i partman-auto/expert_recipe string \
288 # multiraid :: \
289 # 1000 5000 4000 raid \
290 # $primary{ } method{ raid } \
291 # . \
292 # 64 512 300% raid \
293 # method{ raid } \
294 # . \
295 # 500 10000 1000000000 raid \
296 # method{ raid } \
297 # .
298
299 # Last you need to specify how the previously defined partitions will be
300 # used in the RAID setup. Remember to use the correct partition numbers
301 # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported;
302 # devices are separated using "#".
303 # Parameters are:
304 # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
305 # <devices> <sparedevices>
306
307 #d-i partman-auto-raid/recipe string \
308 # 1 2 0 ext3 / \
309 # /dev/sda1#/dev/sdb1 \
310 # . \
311 # 1 2 0 swap - \
312 # /dev/sda5#/dev/sdb5 \
313 # . \
314 # 0 2 0 ext3 /home \
315 # /dev/sda6#/dev/sdb6 \
316 # .
317
318 # For additional information see the file partman-auto-raid-recipe.txt
319 # included in the 'debian-installer' package or available from D-I source
320 # repository.
321
322 # This makes partman automatically partition without confirmation.
323 #d-i partman-md/confirm boolean true
324 #d-i partman-partitioning/confirm_write_new_label boolean true
325 #d-i partman/choose_partition select finish
326 #d-i partman/confirm boolean true
327 #d-i partman/confirm_nooverwrite boolean true
328
329 ## Controlling how partitions are mounted
330 # The default is to mount by UUID, but you can also choose "traditional" to
331 # use traditional device names, or "label" to try filesystem labels before
332 # falling back to UUIDs.
333 #d-i partman/mount_style select uuid
334
335 ### Base system installation
336 # Configure APT to not install recommended packages by default. Use of this
337 # option can result in an incomplete system and should only be used by very
338 # experienced users.
339 #d-i base-installer/install-recommends boolean false
340
341 # The kernel image (meta) package to be installed; "none" can be used if no
342 # kernel is to be installed.
343 #d-i base-installer/kernel/image string linux-generic
344
345 ### Account setup
346 # Skip creation of a root account (normal user account will be able to
347 # use sudo). The default is false; preseed this to true if you want to set
348 # a root password.
349 #d-i passwd/root-login boolean false
350 # Alternatively, to skip creation of a normal user account.
351 #d-i passwd/make-user boolean false
352
353 # Root password, either in clear text
354 #d-i passwd/root-password password r00tme
355 #d-i passwd/root-password-again password r00tme
356 # or encrypted using an MD5 hash.
357 #d-i passwd/root-password-crypted password [MD5 hash]
358
359 # To create a normal user account.
360 #d-i passwd/user-fullname string Ubuntu User
361 #d-i passwd/username string ubuntu
362 # Normal user's password, either in clear text
363 #d-i passwd/user-password password insecure
364 #d-i passwd/user-password-again password insecure
365 # or encrypted using an MD5 hash.
366 #d-i passwd/user-password-crypted password [MD5 hash]
367 # Create the first user with the specified UID instead of the default.
368 #d-i passwd/user-uid string 1010
369 # The installer will warn about weak passwords. If you are sure you know
370 # what you're doing and want to override it, uncomment this.
371 #d-i user-setup/allow-password-weak boolean true
372
373 # The user account will be added to some standard initial groups. To
374 # override that, use this.
375 #d-i passwd/user-default-groups string audio cdrom video
376
377 # Set to true if you want to encrypt the first user's home directory.
378 #d-i user-setup/encrypt-home boolean false
379
380 ### Apt setup
381 # You can choose to install restricted and universe software, or to install
382 # software from the backports repository.
383 #d-i apt-setup/restricted boolean true
384 #d-i apt-setup/universe boolean true
385 #d-i apt-setup/backports boolean true
386 # Uncomment this if you don't want to use a network mirror.
387 #d-i apt-setup/use_mirror boolean false
388 # Select which update services to use; define the mirrors to be used.
389 # Values shown below are the normal defaults.
390 #d-i apt-setup/services-select multiselect security
391 #d-i apt-setup/security_host string security.ubuntu.com
392 #d-i apt-setup/security_path string /ubuntu
393
394 # Additional repositories, local[0-9] available
395 #d-i apt-setup/local0/repository string \
396 # http://local.server/ubuntu squeeze main
397 #d-i apt-setup/local0/comment string local server
398 # Enable deb-src lines
399 #d-i apt-setup/local0/source boolean true
400 # URL to the public key of the local repository; you must provide a key or
401 # apt will complain about the unauthenticated repository and so the
402 # sources.list line will be left commented out
403 #d-i apt-setup/local0/key string http://local.server/key
404
405 # By default the installer requires that repositories be authenticated
406 # using a known gpg key. This setting can be used to disable that
407 # authentication. Warning: Insecure, not recommended.
408 #d-i debian-installer/allow_unauthenticated boolean true
409
410 ### Package selection
411 #tasksel tasksel/first multiselect ubuntu-desktop
412 #tasksel tasksel/first multiselect lamp-server, print-server
413 #tasksel tasksel/first multiselect kubuntu-desktop
414
415 # Individual additional packages to install
416 #d-i pkgsel/include string openssh-server build-essential
417 # Whether to upgrade packages after debootstrap.
418 # Allowed values: none, safe-upgrade, full-upgrade
419 #d-i pkgsel/upgrade select none
420
421 # Language pack selection
422 #d-i pkgsel/language-packs multiselect de, en, zh
423
424 # Policy for applying updates. May be "none" (no automatic updates),
425 # "unattended-upgrades" (install security updates automatically), or
426 # "landscape" (manage system with Landscape).
427 #d-i pkgsel/update-policy select none
428
429 # Some versions of the installer can report back on what software you have
430 # installed, and what software you use. The default is not to report back,
431 # but sending reports helps the project determine what software is most
432 # popular and include it on CDs.
433 #popularity-contest popularity-contest/participate boolean false
434
435 # By default, the system's locate database will be updated after the
436 # installer has finished installing most packages. This may take a while, so
437 # if you don't want it, you can set this to "false" to turn it off.
438 #d-i pkgsel/updatedb boolean true
439
440 ### Boot loader installation
441 # Grub is the default boot loader (for x86). If you want lilo installed
442 # instead, uncomment this:
443 #d-i grub-installer/skip boolean true
444 # To also skip installing lilo, and install no bootloader, uncomment this
445 # too:
446 #d-i lilo-installer/skip boolean true
447
448 # With a few exceptions for unusual partitioning setups, GRUB 2 is now the
449 # default. If you need GRUB Legacy for some particular reason, then
450 # uncomment this:
451 #d-i grub-installer/grub2_instead_of_grub_legacy boolean false
452
453 # This is fairly safe to set, it makes grub install automatically to the MBR
454 # if no other operating system is detected on the machine.
455 #d-i grub-installer/only_debian boolean true
456
457 # This one makes grub-installer install to the MBR if it also finds some other
458 # OS, which is less safe as it might not be able to boot that other OS.
459 #d-i grub-installer/with_other_os boolean true
460
461 # Alternatively, if you want to install to a location other than the mbr,
462 # uncomment and edit these lines:
463 #d-i grub-installer/only_debian boolean false
464 #d-i grub-installer/with_other_os boolean false
465 #d-i grub-installer/bootdev string (hd0,0)
466 # To install grub to multiple disks:
467 #d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
468
469 # Optional password for grub, either in clear text
470 #d-i grub-installer/password password r00tme
471 #d-i grub-installer/password-again password r00tme
472 # or encrypted using an MD5 hash, see grub-md5-crypt(8).
473 #d-i grub-installer/password-crypted password [MD5 hash]
474
475 # Use the following option to add additional boot parameters for the
476 # installed system (if supported by the bootloader installer).
477 # Note: options passed to the installer will be added automatically.
478 #d-i debian-installer/add-kernel-opts string nousb
479
480 ### Finishing up the installation
481 # During installations from serial console, the regular virtual consoles
482 # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
483 # line to prevent this.
484 #d-i finish-install/keep-consoles boolean true
485
486 # Avoid that last message about the install being complete.
487 #d-i finish-install/reboot_in_progress note
488
489 # This will prevent the installer from ejecting the CD during the reboot,
490 # which is useful in some situations.
491 #d-i cdrom-detect/eject boolean false
492
493 # This is how to make the installer shutdown when finished, but not
494 # reboot into the installed system.
495 #d-i debian-installer/exit/halt boolean true
496 # This will power off the machine instead of just halting it.
497 #d-i debian-installer/exit/poweroff boolean true
498
499 ### X configuration
500 # X can detect the right driver for some cards, but if you're preseeding,
501 # you override whatever it chooses. Still, vesa will work most places.
502 #xserver-xorg xserver-xorg/config/device/driver select vesa
503
504 # A caveat with mouse autodetection is that if it fails, X will retry it
505 # over and over. So if it's preseeded to be done, there is a possibility of
506 # an infinite loop if the mouse is not autodetected.
507 #xserver-xorg xserver-xorg/autodetect_mouse boolean true
508
509 # Monitor autodetection is recommended.
510 #xserver-xorg xserver-xorg/autodetect_monitor boolean true
511 # Uncomment if you have an LCD display.
512 #xserver-xorg xserver-xorg/config/monitor/lcd boolean true
513 # X has three configuration paths for the monitor. Here's how to preseed
514 # the "medium" path, which is always available. The "simple" path may not
515 # be available, and the "advanced" path asks too many questions.
516 #xserver-xorg xserver-xorg/config/monitor/selection-method \
517 # select medium
518 #xserver-xorg xserver-xorg/config/monitor/mode-list \
519 # select 1024x768 @ 60 Hz
520
521 ### Preseeding other packages
522 # Depending on what software you choose to install, or if things go wrong
523 # during the installation process, it's possible that other questions may
524 # be asked. You can preseed those too, of course. To get a list of every
525 # possible question that could be asked during an install, do an
526 # installation, and then run these commands:
527 # debconf-get-selections --installer > file
528 # debconf-get-selections >> file
529
530
531 #### Advanced options
532 ### Running custom commands during the installation
533 # d-i preseeding is inherently not secure. Nothing in the installer checks
534 # for attempts at buffer overflows or other exploits of the values of a
535 # preconfiguration file like this one. Only use preconfiguration files from
536 # trusted locations! To drive that home, and because it's generally useful,
537 # here's a way to run any shell command you'd like inside the installer,
538 # automatically.
539
540 # This first command is run as early as possible, just after
541 # preseeding is read.
542 #d-i preseed/early_command string anna-install some-udeb
543 # This command is run immediately before the partitioner starts. It may be
544 # useful to apply dynamic partitioner preseeding that depends on the state
545 # of the disks (which may not be visible when preseed/early_command runs).
546 #d-i partman/early_command \
547 # string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
548 # This command is run just before the install finishes, but when there is
549 # still a usable /target directory. You can chroot to /target and use it
550 # directly, or use the apt-install and in-target commands to easily install
551 # packages and run commands in the target system.
552 #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
Something went wrong with that request. Please try again.