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