Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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