/[d-i]/trunk/manual/po/pot/preseed.pot
ViewVC logotype

Contents of /trunk/manual/po/pot/preseed.pot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 38702 - (show annotations) (download) (as text)
Tue Jul 4 18:19:12 2006 UTC (6 years, 10 months ago) by fjp
File MIME type: application/vnd.ms-powerpoint
File size: 44010 byte(s)
Update of POT and PO files for the manual
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2006-07-04 18:18+0000\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: application/x-xml2pot; charset=UTF-8\n"
15 "Content-Transfer-Encoding: ENCODING\n"
16
17 #: preseed.xml:16
18 #, no-c-format
19 #. Tag: title
20 msgid "Automating the installation using preseeding"
21 msgstr ""
22
23 #: preseed.xml:18
24 #, no-c-format
25 #. Tag: para
26 msgid "This appendix explains the intricacies of preseeding answers to questions in &d-i; to automate your installation."
27 msgstr ""
28
29 #: preseed.xml:23 preseed.xml:504
30 #, no-c-format
31 #. Tag: para
32 msgid "The configuration fragments used in this appendix are also available as an example preconfiguration file from &urlset-example-preseed;."
33 msgstr ""
34
35 #: preseed.xml:31
36 #, no-c-format
37 #. Tag: title
38 msgid "Introduction"
39 msgstr ""
40
41 #: preseed.xml:32
42 #, no-c-format
43 #. Tag: para
44 msgid "Preseeding provides a way to set answers to questions asked during the installation process, without having to manually enter the answers while the installation is running. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations."
45 msgstr ""
46
47 #: preseed.xml:43
48 #, no-c-format
49 #. Tag: title
50 msgid "Preseeding methods"
51 msgstr ""
52
53 #: preseed.xml:44
54 #, no-c-format
55 #. Tag: para
56 msgid "There are three methods that can be used for preseeding: <firstterm>initrd</firstterm>, <firstterm>file</firstterm> and <firstterm>network</firstterm>. Initrd preseeding will work with any installation method and supports preseeding of more things, but it requires the most preparation. File and network preseeding each can be used with different installation methods. With file and network preseeding the first few installer questions cannot be preseeded because the preconfiguration file is only loaded after they have been asked."
57 msgstr ""
58
59 #: preseed.xml:55
60 #, no-c-format
61 #. Tag: para
62 msgid "The following table shows which preseeding methods can be used with which installation methods."
63 msgstr ""
64
65 #: preseed.xml:64
66 #, no-c-format
67 #. Tag: entry
68 msgid "Installation method"
69 msgstr ""
70
71 #: preseed.xml:64
72 #, no-c-format
73 #. Tag: entry
74 msgid "initrd"
75 msgstr ""
76
77 #: preseed.xml:65
78 #, no-c-format
79 #. Tag: entry
80 msgid "file"
81 msgstr ""
82
83 #: preseed.xml:65
84 #, no-c-format
85 #. Tag: entry
86 msgid "network"
87 msgstr ""
88
89 #: preseed.xml:71
90 #, no-c-format
91 #. Tag: entry
92 msgid "CD/DVD"
93 msgstr ""
94
95 #: preseed.xml:72 preseed.xml:73 preseed.xml:77 preseed.xml:79 preseed.xml:82 preseed.xml:83 preseed.xml:87 preseed.xml:88 preseed.xml:92 preseed.xml:94 preseed.xml:97 preseed.xml:99
96 #, no-c-format
97 #. Tag: entry
98 msgid "<entry>yes</entry>"
99 msgstr ""
100
101 #: preseed.xml:74 preseed.xml:78 preseed.xml:84 preseed.xml:89 preseed.xml:93 preseed.xml:98
102 #, no-c-format
103 #. Tag: entry
104 msgid "<entry>no</entry>"
105 msgstr ""
106
107 #: preseed.xml:76
108 #, no-c-format
109 #. Tag: entry
110 msgid "netboot"
111 msgstr ""
112
113 #: preseed.xml:81
114 #, no-c-format
115 #. Tag: entry
116 msgid "hd-media <phrase condition=\"bootable-usb\">(including usb-stick)</phrase>"
117 msgstr ""
118
119 #: preseed.xml:86
120 #, no-c-format
121 #. Tag: entry
122 msgid "floppy based (cd-drivers)"
123 msgstr ""
124
125 #: preseed.xml:91
126 #, no-c-format
127 #. Tag: entry
128 msgid "floppy based (net-drivers)"
129 msgstr ""
130
131 #: preseed.xml:96
132 #, no-c-format
133 #. Tag: entry
134 msgid "generic/tape"
135 msgstr ""
136
137 #: preseed.xml:105
138 #, no-c-format
139 #. Tag: para
140 msgid "An important difference between the preseeding methods is the point at which the preconfiguration file is loaded and processed. For initrd preseeding this is right at the start of the installation, before the first question is even asked. For file preseeding this is after the CD or CD image has been loaded. For network preseeding it is only after the network has been configured."
141 msgstr ""
142
143 #: preseed.xml:114
144 #, no-c-format
145 #. Tag: para
146 msgid "In practical terms this means for file and network preseeding that the questions about language, country and keyboard selection will already have been asked. For network preseeding add to that any questions related to network configuration. Some other questions that are only displayed at medium or low priority (like the first hardware detection run) will also already have been processed."
147 msgstr ""
148
149 #: preseed.xml:123
150 #, no-c-format
151 #. Tag: para
152 msgid "Obviously, any questions that have been processed before the preconfiguration file is loaded cannot be preseeded. <xref linkend=\"preseed-bootparms\"/> offers a way to avoid these questions being asked."
153 msgstr ""
154
155 #: preseed.xml:134
156 #, no-c-format
157 #. Tag: title
158 msgid "Limitations"
159 msgstr ""
160
161 #: preseed.xml:135
162 #, no-c-format
163 #. Tag: para
164 msgid "Although most questions used by &d-i; can be preseeded using this method, there are some notable exceptions. You must (re)partition an entire disk or use available free space on a disk; it is not possible to use existing partitions. You currently cannot use preseeding to set up RAID."
165 msgstr ""
166
167 #: preseed.xml:207
168 #, no-c-format
169 #. Tag: title
170 msgid "Running custom commands during the installation"
171 msgstr ""
172
173 #: preseed.xml:208
174 #, no-c-format
175 #. Tag: para
176 msgid "A very powerful and flexible option offered by the preconfiguration tools is the ability to run commands or scripts at certain points in the installation. See <xref linkend=\"preseed-shell\"/> for details."
177 msgstr ""
178
179 #: preseed.xml:217
180 #, no-c-format
181 #. Tag: para
182 msgid "<userinput>preseed/early_command</userinput>: is run as soon as the preconfiguration file has been loaded"
183 msgstr ""
184
185 #: preseed.xml:221
186 #, no-c-format
187 #. Tag: para
188 msgid "<userinput>preseed/late_command</userinput>: is run just before the reboot at the end of the install, but before the <filename>/target</filename> filesystem has been unmounted"
189 msgstr ""
190
191 #: preseed.xml:231
192 #, no-c-format
193 #. Tag: title
194 msgid "Using preseeding to change default values"
195 msgstr ""
196
197 #: preseed.xml:232
198 #, no-c-format
199 #. Tag: para
200 msgid "It is possible to use preseeding to change the default answer for a question, but still have the question asked. To do this the <firstterm>seen</firstterm> flag must be reset to <quote>false</quote> after setting the value for a question."
201 msgstr ""
202
203 #: preseed.xml:241
204 #, no-c-format
205 #. Tag: screen
206 msgid ""
207 "d-i foo/bar string value\n"
208 "d-i foo/bar seen false"
209 msgstr ""
210
211 #: preseed.xml:247
212 #, no-c-format
213 #. Tag: title
214 msgid "Using preseeding"
215 msgstr ""
216
217 #: preseed.xml:248
218 #, no-c-format
219 #. Tag: para
220 msgid "Of course you will first need to create a preconfiguration file and place it in the location from where you want to use it. Creating the preconfiguration file is covered later in this appendix. Putting it in the correct location is fairly straightforward for network preseeding or if you want to read the file off a floppy or usb-stick. If you want to include the file on a CD or DVD, you will have to remaster the ISO image. How to get the preconfiguration file included in the initrd is outside the scope of this document; please consult the developers documentation for &d-i;."
221 msgstr ""
222
223 #: preseed.xml:259
224 #, no-c-format
225 #. Tag: para
226 msgid "An example preconfiguration file that you can use as basis for your own preconfiguration file is available from &urlset-example-preseed;. This file is based on the configuration fragments included in this appendix."
227 msgstr ""
228
229 #: preseed.xml:268
230 #, no-c-format
231 #. Tag: title
232 msgid "Loading the preconfiguration file"
233 msgstr ""
234
235 #: preseed.xml:269
236 #, no-c-format
237 #. Tag: para
238 msgid "If you are using initrd preseeding, you only have to make sure a file named <filename>preseed.cfg</filename> is included in the root directory of the initrd. The installer will automatically check if this file is present and load it."
239 msgstr ""
240
241 #: preseed.xml:276
242 #, no-c-format
243 #. Tag: para
244 msgid "For the other preseeding methods you need to tell the installer what file to use when you boot it. This is normally done by passing the kernel a boot parameter, either manually at boot time or by editing the bootloader configuration file (e.g. <filename>syslinux.cfg</filename>) and adding the parameter to the end of the append line(s) for the kernel."
245 msgstr ""
246
247 #: preseed.xml:284
248 #, no-c-format
249 #. Tag: para
250 msgid "If you do specify the preconfiguration file in the bootloader configuration, you might change the configuration so you don't need to hit enter to boot the installer. For syslinux this means setting the timeout to <literal>1</literal> in <filename>syslinux.cfg</filename>."
251 msgstr ""
252
253 #: preseed.xml:291
254 #, no-c-format
255 #. Tag: para
256 msgid "To make sure the installer gets the right preconfiguration file, you can optionally specify a checksum for the file. Currently this needs to be a md5sum, and if specified it must match the preconfiguration file or the installer will refuse to use it."
257 msgstr ""
258
259 #: preseed.xml:300
260 #, no-c-format
261 #. Tag: screen
262 msgid ""
263 "Boot parameters to specify:\n"
264 "- if you're netbooting:\n"
265 " preseed/url=http://host/path/to/preseed.cfg\n"
266 " preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n"
267 "\n"
268 "- if you're booting a remastered CD:\n"
269 " preseed/file=/cdrom/preseed.cfg\n"
270 " preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n"
271 "\n"
272 "- if you're installing from USB media (put the preconfiguration file in the\n"
273 " toplevel directory of the USB stick):\n"
274 " preseed/file=/hd-media/preseed.cfg\n"
275 " preseed/file/checksum=5da499872becccfeda2c4872f9171c3d"
276 msgstr ""
277
278 #: preseed.xml:302
279 #, no-c-format
280 #. Tag: para
281 msgid "Note that <filename>preseed/url</filename> can be shortened to just <filename>url</filename> and <filename>preseed/file</filename> to just <filename>file</filename> when they are passed as boot parameters."
282 msgstr ""
283
284 #: preseed.xml:308
285 #, no-c-format
286 #. Tag: para
287 msgid "While you're at it, you may want to add a boot parameter <userinput>priority=critical</userinput>. This will avoid most questions even if the preseeding below misses some."
288 msgstr ""
289
290 #: preseed.xml:318
291 #, no-c-format
292 #. Tag: title
293 msgid "Using a DHCP server to specify preconfiguration files"
294 msgstr ""
295
296 #: preseed.xml:319
297 #, no-c-format
298 #. Tag: para
299 msgid "It's also possible to use DHCP to specify a preconfiguration file to download from the network. DHCP allows specifying a filename. Normally this is a file to netboot, but if it appears to be an URL then installation media that support network preseeding will download the file from the URL and use it as a preconfiguration file. Here is an example of how to set it up in the dhcpd.conf for version 3 of the ISC DHCP server (the dhcp3-server Debian package)."
300 msgstr ""
301
302 #: preseed.xml:330
303 #, no-c-format
304 #. Tag: screen
305 msgid ""
306 "if substring (option vendor-class-identifier, 0, 3) = \"d-i\" {\n"
307 " filename \"http://host/preseed.cfg\";\n"
308 "}"
309 msgstr ""
310
311 #: preseed.xml:332
312 #, no-c-format
313 #. Tag: para
314 msgid "Note that the above example limits this filename to DHCP clients that identify themselves as \"d-i\", so it will not affect regular DHCP clients, but only the installer. You can also put the text in a stanza for only one particular host to avoid preseeding all installs on your network."
315 msgstr ""
316
317 #: preseed.xml:339
318 #, no-c-format
319 #. Tag: para
320 msgid "A good way to use the DHCP preseeding is to only preseed values specific to your network, such as the Debian mirror to use. This way installs on your network will automatically get a good mirror selected, but the rest of the installation can be performed interactively. Using DHCP preseeding to fully automate Debian installs should only be done with care."
321 msgstr ""
322
323 #: preseed.xml:351
324 #, no-c-format
325 #. Tag: title
326 msgid "Using boot parameters to supplement preseeding"
327 msgstr ""
328
329 #: preseed.xml:352
330 #, no-c-format
331 #. Tag: para
332 msgid "Some parts of the installation process cannot be automated using some forms of preseeding because the questions are asked before the preconfiguration file is loaded. For example, if the preconfiguration file is downloaded over the network, the network setup must be done first. One reason to use initrd preseeding is that it allows preseeding of even these early steps of the installation process."
333 msgstr ""
334
335 #: preseed.xml:361
336 #, no-c-format
337 #. Tag: para
338 msgid "If a preconfiguration file cannot be used to preseed some steps, the install can still be fully automated, since you can pass preseed values to the kernel on the command line. Just pass <userinput>path/to/var=value</userinput> for any of the preseed variables listed in the examples."
339 msgstr ""
340
341 #: preseed.xml:368
342 #, no-c-format
343 #. Tag: para
344 msgid "Note that some variables that are frequently set at the boot prompt have a shorter alias. If an alias is available, it is used in the examples in this appendix instead of the full variable."
345 msgstr ""
346
347 #: preseed.xml:374
348 #, no-c-format
349 #. Tag: para
350 msgid "A <quote>--</quote> in the boot options has special meaning. Kernel parameters that appear after it will be copied into the installed bootloader configuration (if supported by the installer for the bootloader). Note that the <quote>--</quote> may already be present in the default boot parameters."
351 msgstr ""
352
353 #: preseed.xml:383
354 #, no-c-format
355 #. Tag: para
356 msgid "The 2.4 kernel accepts a maximum of 8 command line options and 8 environment options (including any options added by default for the installer). If these numbers are exceeded, 2.4 kernels will drop any excess options and 2.6 kernels will panic. For kernel 2.6.9 and later, you can use 32 command line options and 32 environment options."
357 msgstr ""
358
359 #: preseed.xml:392
360 #, no-c-format
361 #. Tag: para
362 msgid "For most installations some of the default options in your bootloader configuration file, like <literal>vga=normal</literal>, may be safely removed which may allow you to add more options for preseeding."
363 msgstr ""
364
365 #: preseed.xml:399
366 #, no-c-format
367 #. Tag: para
368 msgid "It may not always be possible to specify values with spaces for boot parameters, even if you delimit them with quotes."
369 msgstr ""
370
371 #: preseed.xml:409
372 #, no-c-format
373 #. Tag: title
374 msgid "Creating a preconfiguration file"
375 msgstr ""
376
377 #: preseed.xml:410
378 #, no-c-format
379 #. Tag: para
380 msgid "The preconfiguration file is in the format used by the <command>debconf-set-selections</command> command. The general format of a line in a preconfiguration file is:"
381 msgstr ""
382
383 #: preseed.xml:416
384 #, no-c-format
385 #. Tag: screen
386 msgid "&lt;owner&gt; &lt;question name&gt; &lt;question type&gt; &lt;value&gt;"
387 msgstr ""
388
389 #: preseed.xml:418
390 #, no-c-format
391 #. Tag: para
392 msgid "There are a few rules to keep in mind when writing a preconfiguration file."
393 msgstr ""
394
395 #: preseed.xml:425
396 #, no-c-format
397 #. Tag: para
398 msgid "Put only a single space or tab between type and value: any additional whitespace will be interpreted as belonging to the value."
399 msgstr ""
400
401 #: preseed.xml:429
402 #, no-c-format
403 #. Tag: para
404 msgid "A line can be split into multiple lines by appending a backslash (<quote><literal>\\</literal></quote>) as the line continuation character. A good place to split a line is after the question name; a bad place is between type and value."
405 msgstr ""
406
407 #: preseed.xml:435
408 #, no-c-format
409 #. Tag: para
410 msgid "Most questions need to be preseeded using the values valid in English and not the translated values. However, there are some questions (for example in <classname>partman</classname> where the translated values need to be used."
411 msgstr ""
412
413 #: preseed.xml:441
414 #, no-c-format
415 #. Tag: para
416 msgid "Some questions take a code as value instead of the English text that is shown during installation."
417 msgstr ""
418
419 #: preseed.xml:447
420 #, no-c-format
421 #. Tag: para
422 msgid "The easiest way to create a preconfiguration file is to use the example file linked in <xref linkend=\"preseed-contents\"/> as basis and work from there."
423 msgstr ""
424
425 #: preseed.xml:452
426 #, no-c-format
427 #. Tag: para
428 msgid "An alternative method is to do a manual installation and then, after rebooting, use the <command>debconf-get-selections</command> from the <classname>debconf-utils</classname> package to dump both the debconf database and the installer's cdebconf database to a single file:"
429 msgstr ""
430
431 #: preseed.xml:459
432 #, no-c-format
433 #. Tag: screen
434 msgid ""
435 "$ debconf-get-selections --installer &gt; <replaceable>file</replaceable>\n"
436 "$ debconf-get-selections &gt;&gt; <replaceable>file</replaceable>"
437 msgstr ""
438
439 #: preseed.xml:461
440 #, no-c-format
441 #. Tag: para
442 msgid "However, a file generated in this manner will have some items that should not be preseeded, and the example file is a better starting place for most users."
443 msgstr ""
444
445 #: preseed.xml:469
446 #, no-c-format
447 #. Tag: para
448 msgid "This method relies on the fact that, at the end of the installation, the installer's cdebconf database is saved to the installed system in <filename>/var/log/installer/cdebconf</filename>. However, because the database may contain sensitive information, by default the files are only readable by root."
449 msgstr ""
450
451 #: preseed.xml:477
452 #, no-c-format
453 #. Tag: para
454 msgid "The directory <filename>/var/log/installer</filename> and all files in it will be deleted from your system if you purge the package <classname>installation-report</classname>."
455 msgstr ""
456
457 #: preseed.xml:485
458 #, no-c-format
459 #. Tag: para
460 msgid "To check possible values for questions, you can use <command>nano</command> to examine the files in <filename>/var/lib/cdebconf</filename> while an installation is in progress. View <filename>templates.dat</filename> for the raw templates and <filename>questions.dat</filename> for the current values and for the values assigned to variables."
461 msgstr ""
462
463 #: preseed.xml:493
464 #, no-c-format
465 #. Tag: para
466 msgid "To check if the format of your preconfiguration file is valid before performing an install, you can use the command <command>debconf-set-selections -c <replaceable>preseed.cfg</replaceable></command>."
467 msgstr ""
468
469 #: preseed.xml:503
470 #, no-c-format
471 #. Tag: title
472 msgid "Contents of the preconfiguration file"
473 msgstr ""
474
475 #: preseed.xml:509
476 #, no-c-format
477 #. Tag: para
478 msgid "Note that this example is based on an installation for the Intel x86 architecture. If you are installing a different architecture, some of the examples (like keyboard selection and bootloader installation) may not be relevant and will need to be replaced by debconf settings appropriate for your architecture."
479 msgstr ""
480
481 #: preseed.xml:520
482 #, no-c-format
483 #. Tag: title
484 msgid "Localization"
485 msgstr ""
486
487 #: preseed.xml:521
488 #, no-c-format
489 #. Tag: para
490 msgid "Setting localization values will only work if you are using initrd preseeding. With all other methods the preconfiguration file will only be loaded after these questions have been asked."
491 msgstr ""
492
493 #: preseed.xml:527
494 #, no-c-format
495 #. Tag: para
496 msgid "The locale can be used to specify both language and country. To specify the locale as a boot parameter, use <userinput>locale=<replaceable>en_US</replaceable></userinput>."
497 msgstr ""
498
499 #: preseed.xml:533
500 #, no-c-format
501 #. Tag: screen
502 msgid ""
503 "# Locale sets language and country.\n"
504 "d-i debian-installer/locale string en_US"
505 msgstr ""
506
507 #: preseed.xml:535
508 #, no-c-format
509 #. Tag: para
510 msgid "Keyboard configuration consists of selecting a keyboard architecture and a keymap. In most cases the correct keyboard architecture is selected by default, so there's normally no need to preseed it. The keymap must be valid for the selected keyboard architecture."
511 msgstr ""
512
513 #: preseed.xml:542
514 #, no-c-format
515 #. Tag: screen
516 msgid ""
517 "# Keyboard selection.\n"
518 "#d-i console-tools/archs select at\n"
519 "d-i console-keymaps-at/keymap select us\n"
520 "# Example for a different keyboard architecture\n"
521 "#d-i console-keymaps-usb/keymap select mac-usb-us"
522 msgstr ""
523
524 #: preseed.xml:544
525 #, no-c-format
526 #. Tag: para
527 msgid "To skip keyboard configuration, preseed <classname>console-tools/archs</classname> with <userinput>skip-config</userinput>. This will result in the kernel keymap remaining active."
528 msgstr ""
529
530 #: preseed.xml:553
531 #, no-c-format
532 #. Tag: para
533 msgid "The changes in the input layer for 2.6 kernels have made the keyboard architecture virtually obsolete. For 2.6 kernels normally a <quote>PC</quote> (<userinput>at</userinput>) keymap should be selected."
534 msgstr ""
535
536 #: preseed.xml:563
537 #, no-c-format
538 #. Tag: title
539 msgid "Network configuration"
540 msgstr ""
541
542 #: preseed.xml:564
543 #, no-c-format
544 #. Tag: para
545 msgid "Of course, preseeding the network configuration won't work if you're loading your preconfiguration file from the network. But it's great when you're booting from CD or USB stick. If you are loading preconfiguration files from the network, you can pass network config parameters by using kernel boot parameters."
546 msgstr ""
547
548 #: preseed.xml:572
549 #, no-c-format
550 #. Tag: para
551 msgid "If you need to pick a particular interface when netbooting before loading a preconfiguration file from the network, use a boot parameter such as <userinput>interface=<replaceable>eth1</replaceable></userinput>."
552 msgstr ""
553
554 #: preseed.xml:578
555 #, no-c-format
556 #. Tag: para
557 msgid "Although preseeding the network configuration is normally not possible when using network preseeding (using <quote>preseed/url</quote>), you can use the following hack to work around that, for example if you'd like to set a static address for the network interface. The hack is to force the network configuration to run again after the preconfiguration file has been loaded by creating a <quote>preseed/run</quote> script containing the following lines:"
558 msgstr ""
559
560 #: preseed.xml:588
561 #, no-c-format
562 #. Tag: screen
563 msgid ""
564 "killall.sh dhclient\n"
565 "netcfg"
566 msgstr ""
567
568 #: preseed.xml:592
569 #, no-c-format
570 #. Tag: screen
571 msgid ""
572 "# netcfg will choose an interface that has link if possible. This makes it\n"
573 "# skip displaying a list if there is more than one interface.\n"
574 "d-i netcfg/choose_interface select auto\n"
575 "\n"
576 "# To pick a particular interface instead:\n"
577 "#d-i netcfg/choose_interface select eth1\n"
578 "\n"
579 "# If you have a slow dhcp server and the installer times out waiting for\n"
580 "# it, this might be useful.\n"
581 "#d-i netcfg/dhcp_timeout string 60\n"
582 "\n"
583 "# If you prefer to configure the network manually, uncomment this line and\n"
584 "# the static network configuration below.\n"
585 "#d-i netcfg/disable_dhcp boolean true\n"
586 "\n"
587 "# If you want the preconfiguration file to work on systems both with and\n"
588 "# without a dhcp server, uncomment these lines and the static network\n"
589 "# configuration below.\n"
590 "#d-i netcfg/dhcp_failed note\n"
591 "#d-i netcfg/dhcp_options select Configure network manually\n"
592 "\n"
593 "# Static network configuration.\n"
594 "#d-i netcfg/get_nameservers string 192.168.1.1\n"
595 "#d-i netcfg/get_ipaddress string 192.168.1.42\n"
596 "#d-i netcfg/get_netmask string 255.255.255.0\n"
597 "#d-i netcfg/get_gateway string 192.168.1.1\n"
598 "#d-i netcfg/confirm_static boolean true\n"
599 "\n"
600 "# Any hostname and domain names assigned from dhcp take precedence over\n"
601 "# values set here. However, setting the values still prevents the questions\n"
602 "# from being shown, even if values come from dhcp.\n"
603 "d-i netcfg/get_hostname string unassigned-hostname\n"
604 "d-i netcfg/get_domain string unassigned-domain\n"
605 "\n"
606 "# Disable that annoying WEP key dialog.\n"
607 "d-i netcfg/wireless_wep string\n"
608 "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n"
609 "#d-i netcfg/dhcp_hostname string radish"
610 msgstr ""
611
612 #: preseed.xml:597
613 #, no-c-format
614 #. Tag: title
615 msgid "Mirror settings"
616 msgstr ""
617
618 #: preseed.xml:598
619 #, no-c-format
620 #. Tag: para
621 msgid "Depending on the installation method you use, a mirror may be used both to download additional components of the installer, the base system and to set up the <filename>/etc/apt/sources.list</filename> for the installed system."
622 msgstr ""
623
624 #: preseed.xml:605
625 #, no-c-format
626 #. Tag: para
627 msgid "The parameter <classname>mirror/suite</classname> determines the suite for the installed system."
628 msgstr ""
629
630 #: preseed.xml:610
631 #, no-c-format
632 #. Tag: para
633 msgid "The parameter <classname>mirror/udeb/suite</classname> determines the suite for additional components for the installer. It is only useful to set this if components are actually downloaded over the network and should match the suite that was used to build the initrd for the installation method used for the installation. By default the value for <classname>mirror/udeb/suite</classname> is the same as <classname>mirror/suite</classname>."
634 msgstr ""
635
636 #: preseed.xml:622
637 #, no-c-format
638 #. Tag: screen
639 msgid ""
640 "d-i mirror/country string enter information manually\n"
641 "d-i mirror/http/hostname string http.us.debian.org\n"
642 "d-i mirror/http/directory string /debian\n"
643 "d-i mirror/http/proxy string\n"
644 "\n"
645 "# Suite to install.\n"
646 "#d-i mirror/suite string testing\n"
647 "# Suite to use for loading installer components (optional).\n"
648 "#d-i mirror/udeb/suite string testing"
649 msgstr ""
650
651 #: preseed.xml:627
652 #, no-c-format
653 #. Tag: title
654 msgid "Partitioning"
655 msgstr ""
656
657 #: preseed.xml:628
658 #, no-c-format
659 #. Tag: para
660 msgid "Using preseeding to partition the harddisk is very much limited to what is supported by <classname>partman-auto</classname>. You can choose to either partition existing free space on a disk or a whole disk. The layout of the disk can be determined by using a predefined recipe, a custom recipe from a recipe file or a recipe included in the preconfiguration file. It is currently not possible to partition multiple disks using preseeding nor to set up RAID."
661 msgstr ""
662
663 #: preseed.xml:640
664 #, no-c-format
665 #. Tag: para
666 msgid "The identification of disks is dependent on the order in which their drivers are loaded. If there are multiple disks in the system, make very sure the correct one will be selected before using preseeding."
667 msgstr ""
668
669 #: preseed.xml:648
670 #, no-c-format
671 #. Tag: screen
672 msgid ""
673 "# If the system has free space you can choose to only partition that space.\n"
674 "# Note: this must be preseeded with a localized (translated) value.\n"
675 "#d-i partman-auto/init_automatically_partition \\\n"
676 "# select Use the largest continuous free space\n"
677 "\n"
678 "# Alternatively, you can specify a disk to partition. The device name can\n"
679 "# be given in either devfs or traditional non-devfs format.\n"
680 "# For example, to use the first disk devfs knows of:\n"
681 "d-i partman-auto/disk string /dev/discs/disc0/disc\n"
682 "# Or, if you want to use LVM:\n"
683 "#d-i partman-auto-lvm/disk string /dev/discs/disc0/disc\n"
684 "\n"
685 "# You can choose from any of the predefined partitioning recipes.\n"
686 "# Note: this must be preseeded with a localized (translated) value.\n"
687 "d-i partman-auto/choose_recipe \\\n"
688 " select All files in one partition (recommended for new users)\n"
689 "#d-i partman-auto/choose_recipe \\\n"
690 "# select Separate /home partition\n"
691 "#d-i partman-auto/choose_recipe \\\n"
692 "# select Separate /home, /usr, /var, and /tmp partitions\n"
693 "\n"
694 "# Or provide a recipe of your own...\n"
695 "# The recipe format is documented in the file devel/partman-auto-recipe.txt.\n"
696 "# If you have a way to get a recipe file into the d-i environment, you can\n"
697 "# just point at it.\n"
698 "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n"
699 "\n"
700 "# If not, you can put an entire recipe the preconfiguration file in one\n"
701 "# (logical) line. This example creates a small /boot partition, suitable\n"
702 "# swap, and uses the rest of the space for the root partition:\n"
703 "#d-i partman-auto/expert_recipe string \\\n"
704 "# boot-root :: \\\n"
705 "# 40 50 100 ext3 \\\n"
706 "# $primary{ } $bootable{ } \\\n"
707 "# method{ format } format{ } \\\n"
708 "# use_filesystem{ } filesystem{ ext3 } \\\n"
709 "# mountpoint{ /boot } \\\n"
710 "# . \\\n"
711 "# 500 10000 1000000000 ext3 \\\n"
712 "# method{ format } format{ } \\\n"
713 "# use_filesystem{ } filesystem{ ext3 } \\\n"
714 "# mountpoint{ / } \\\n"
715 "# . \\\n"
716 "# 64 512 300% linux-swap \\\n"
717 "# method{ swap } format{ } \\\n"
718 "# .\n"
719 "\n"
720 "# This makes partman automatically partition without confirmation.\n"
721 "d-i partman/confirm_write_new_label boolean true\n"
722 "d-i partman/choose_partition \\\n"
723 " select Finish partitioning and write changes to disk\n"
724 "d-i partman/confirm boolean true"
725 msgstr ""
726
727 #: preseed.xml:653
728 #, no-c-format
729 #. Tag: title
730 msgid "Clock and time zone setup"
731 msgstr ""
732
733 #: preseed.xml:655
734 #, no-c-format
735 #. Tag: screen
736 msgid ""
737 "# Controls whether or not the hardware clock is set to UTC.\n"
738 "d-i clock-setup/utc boolean true\n"
739 "\n"
740 "# You may set this to any valid setting for $TZ; see the contents of\n"
741 "# /usr/share/zoneinfo/ for valid values.\n"
742 "d-i time/zone string US/Eastern"
743 msgstr ""
744
745 #: preseed.xml:660
746 #, no-c-format
747 #. Tag: title
748 msgid "Apt setup"
749 msgstr ""
750
751 #: preseed.xml:661
752 #, no-c-format
753 #. Tag: para
754 msgid "Setup of the <filename>/etc/apt/sources.list</filename> and basic configuration options is fully automated based on your installation method and answers to earlier questions. You can optionally add other (local) repositories."
755 msgstr ""
756
757 #: preseed.xml:669
758 #, no-c-format
759 #. Tag: screen
760 msgid ""
761 "# You can choose to install non-free and contrib software.\n"
762 "#d-i apt-setup/non-free boolean true\n"
763 "#d-i apt-setup/contrib boolean true\n"
764 "# Uncomment this to avoid adding security sources, or\n"
765 "# add a hostname to use a different server than security.debian.org.\n"
766 "#d-i apt-setup/security_host string\n"
767 "\n"
768 "# Additional repositories, local[0-9] available\n"
769 "#d-i apt-setup/local0/comment string local server\n"
770 "#d-i apt-setup/local0/source string \\\n"
771 "# deb http://local.server/debian stable main\n"
772 "# URL to the public key of the local repository\n"
773 "#d-i apt-setup/local0/key string http://local.server/key"
774 msgstr ""
775
776 #: preseed.xml:674
777 #, no-c-format
778 #. Tag: title
779 msgid "Account setup"
780 msgstr ""
781
782 #: preseed.xml:675
783 #, no-c-format
784 #. Tag: para
785 msgid "The password for the root account and name and password for a first regular user's account can be preseeded. For the passwords you can use either clear text values or MD5 <emphasis>hashes</emphasis>."
786 msgstr ""
787
788 #: preseed.xml:682
789 #, no-c-format
790 #. Tag: para
791 msgid "Be aware that preseeding passwords is not completely secure as everyone with access to the preconfiguration file will have the knowledge of these passwords. Using MD5 hashes is considered slightly better in terms of security but it might also give a false sense of security as access to a MD5 hash allows for brute force attacks."
792 msgstr ""
793
794 #: preseed.xml:692
795 #, no-c-format
796 #. Tag: screen
797 msgid ""
798 "# Skip creation of a root account (normal user account will be able to\n"
799 "# use sudo).\n"
800 "#d-i passwd/root-login boolean false\n"
801 "# Alternatively, to skip creation of a normal user account.\n"
802 "#d-i passwd/make-user boolean false\n"
803 "\n"
804 "# Root password, either in clear text\n"
805 "#d-i passwd/root-password password r00tme\n"
806 "#d-i passwd/root-password-again password r00tme\n"
807 "# or encrypted using an MD5 hash.\n"
808 "#d-i passwd/root-password-crypted password [MD5 hash]\n"
809 "\n"
810 "# To create a normal user account.\n"
811 "#d-i passwd/user-fullname string Debian User\n"
812 "#d-i passwd/username string debian\n"
813 "# Normal user's password, either in clear text\n"
814 "#d-i passwd/user-password password insecure\n"
815 "#d-i passwd/user-password-again password insecure\n"
816 "# or encrypted using an MD5 hash.\n"
817 "#d-i passwd/user-password-crypted password [MD5 hash]"
818 msgstr ""
819
820 #: preseed.xml:694
821 #, no-c-format
822 #. Tag: para
823 msgid "The <classname>passwd/root-password-crypted</classname> and <classname>passwd/user-password-crypted</classname> variables can also be preseeded with <quote>!</quote> as their value. In that case, the corresponding account is disabled. This may be convenient for the root account, provided of course that an alternative method is setup to allow administrative activities or root login (for instance by using SSH key authentication or <command>sudo</command>)."
824 msgstr ""
825
826 #: preseed.xml:704
827 #, no-c-format
828 #. Tag: para
829 msgid "An MD5 hash for a password can be generated using the following command."
830 msgstr ""
831
832 #: preseed.xml:708
833 #, no-c-format
834 #. Tag: screen
835 msgid "$ echo \"r00tme\" | mkpasswd -s -H MD5"
836 msgstr ""
837
838 #: preseed.xml:714
839 #, no-c-format
840 #. Tag: title
841 msgid "Base system installation"
842 msgstr ""
843
844 #: preseed.xml:715
845 #, no-c-format
846 #. Tag: para
847 msgid "There is actually not very much that can be preseeded for this stage of the installation. The only questions asked concern the installation of the kernel."
848 msgstr ""
849
850 #: preseed.xml:722
851 #, no-c-format
852 #. Tag: screen
853 msgid ""
854 "# Select the initramfs generator used to generate the initrd for 2.6 kernels.\n"
855 "#d-i base-installer/kernel/linux/initramfs-generators string yaird"
856 msgstr ""
857
858 #: preseed.xml:727
859 #, no-c-format
860 #. Tag: title
861 msgid "Boot loader installation"
862 msgstr ""
863
864 #: preseed.xml:729
865 #, no-c-format
866 #. Tag: screen
867 msgid ""
868 "# Grub is the default boot loader (for x86). If you want lilo installed\n"
869 "# instead, uncomment this:\n"
870 "#d-i grub-installer/skip boolean true\n"
871 "\n"
872 "# This is fairly safe to set, it makes grub install automatically to the MBR\n"
873 "# if no other operating system is detected on the machine.\n"
874 "d-i grub-installer/only_debian boolean true\n"
875 "\n"
876 "# This one makes grub-installer install to the MBR if if finds some other OS\n"
877 "# too, which is less safe as it might not be able to boot that other OS.\n"
878 "d-i grub-installer/with_other_os boolean true\n"
879 "\n"
880 "# Alternatively, if you want to install to a location other than the mbr,\n"
881 "# uncomment and edit these lines:\n"
882 "#d-i grub-installer/bootdev string (hd0,0)\n"
883 "#d-i grub-installer/only_debian boolean false\n"
884 "#d-i grub-installer/with_other_os boolean false"
885 msgstr ""
886
887 #: preseed.xml:734
888 #, no-c-format
889 #. Tag: title
890 msgid "Package selection"
891 msgstr ""
892
893 #: preseed.xml:735
894 #, no-c-format
895 #. Tag: para
896 msgid "You can choose to install any combination of tasks that are available. Available tasks as of this writing include:"
897 msgstr ""
898
899 #: preseed.xml:744
900 #, no-c-format
901 #. Tag: userinput
902 msgid "standard"
903 msgstr ""
904
905 #: preseed.xml:747
906 #, no-c-format
907 #. Tag: userinput
908 msgid "desktop"
909 msgstr ""
910
911 #: preseed.xml:750
912 #, no-c-format
913 #. Tag: userinput
914 msgid "gnome-desktop"
915 msgstr ""
916
917 #: preseed.xml:753
918 #, no-c-format
919 #. Tag: userinput
920 msgid "kde-desktop"
921 msgstr ""
922
923 #: preseed.xml:756
924 #, no-c-format
925 #. Tag: userinput
926 msgid "web-server"
927 msgstr ""
928
929 #: preseed.xml:759
930 #, no-c-format
931 #. Tag: userinput
932 msgid "print-server"
933 msgstr ""
934
935 #: preseed.xml:762
936 #, no-c-format
937 #. Tag: userinput
938 msgid "dns-server"
939 msgstr ""
940
941 #: preseed.xml:765
942 #, no-c-format
943 #. Tag: userinput
944 msgid "file-server"
945 msgstr ""
946
947 #: preseed.xml:768
948 #, no-c-format
949 #. Tag: userinput
950 msgid "mail-server"
951 msgstr ""
952
953 #: preseed.xml:771
954 #, no-c-format
955 #. Tag: userinput
956 msgid "sql-database"
957 msgstr ""
958
959 #: preseed.xml:774
960 #, no-c-format
961 #. Tag: userinput
962 msgid "laptop"
963 msgstr ""
964
965 #: preseed.xml:778
966 #, no-c-format
967 #. Tag: para
968 msgid "You can also choose to install no tasks, and force the installation of a set of packages in some other way. We recommend always including the <userinput>standard</userinput> task."
969 msgstr ""
970
971 #: preseed.xml:786
972 #, no-c-format
973 #. Tag: screen
974 msgid ""
975 "tasksel tasksel/first multiselect standard, desktop\n"
976 "#tasksel tasksel/first multiselect standard, web-server\n"
977 "#tasksel tasksel/first multiselect standard, kde-desktop\n"
978 "\n"
979 "# Some versions of the installer can report back on what software you have\n"
980 "# installed, and what software you use. The default is not to report back,\n"
981 "# but sending reports helps the project determine what software is most\n"
982 "# popular and include it on CDs.\n"
983 "#popularity-contest popularity-contest/participate boolean false"
984 msgstr ""
985
986 #: preseed.xml:791
987 #, no-c-format
988 #. Tag: title
989 msgid "Finishing up the first stage install"
990 msgstr ""
991
992 #: preseed.xml:793
993 #, no-c-format
994 #. Tag: screen
995 msgid ""
996 "# Avoid that last message about the install being complete.\n"
997 "d-i finish-install/reboot_in_progress note\n"
998 "\n"
999 "# This will prevent the installer from ejecting the CD during the reboot,\n"
1000 "# which is useful in some situations.\n"
1001 "#d-i cdrom-detect/eject boolean false"
1002 msgstr ""
1003
1004 #: preseed.xml:798
1005 #, no-c-format
1006 #. Tag: title
1007 msgid "Mailer configuration"
1008 msgstr ""
1009
1010 #: preseed.xml:799
1011 #, no-c-format
1012 #. Tag: para
1013 msgid "During a normal install, exim asks only a few questions. Here's how to avoid even those. More complicated preseeding is possible."
1014 msgstr ""
1015
1016 #: preseed.xml:806
1017 #, no-c-format
1018 #. Tag: screen
1019 msgid ""
1020 "exim4-config exim4/dc_eximconfig_configtype \\\n"
1021 " select no configuration at this time\n"
1022 "exim4-config exim4/no_config boolean true\n"
1023 "exim4-config exim4/no_config boolean true\n"
1024 "exim4-config exim4/dc_postmaster string"
1025 msgstr ""
1026
1027 #: preseed.xml:811
1028 #, no-c-format
1029 #. Tag: title
1030 msgid "X configuration"
1031 msgstr ""
1032
1033 #: preseed.xml:812
1034 #, no-c-format
1035 #. Tag: para
1036 msgid "Preseeding Debian's X config is possible, but you probably need to know some details about the video hardware of the machine, since Debian's X configurator does not do fully automatic configuration of everything."
1037 msgstr ""
1038
1039 #: preseed.xml:820
1040 #, no-c-format
1041 #. Tag: screen
1042 msgid ""
1043 "# X can detect the right driver for some cards, but if you're preseeding,\n"
1044 "# you override whatever it chooses. Still, vesa will work most places.\n"
1045 "#xserver-xorg xserver-xorg/config/device/driver select vesa\n"
1046 "\n"
1047 "# A caveat with mouse autodetection is that if it fails, X will retry it\n"
1048 "# over and over. So if it's preseeded to be done, there is a possibility of\n"
1049 "# an infinite loop if the mouse is not autodetected.\n"
1050 "#xserver-xorg xserver-xorg/autodetect_mouse boolean true\n"
1051 "\n"
1052 "# Monitor autodetection is recommended.\n"
1053 "xserver-xorg xserver-xorg/autodetect_monitor boolean true\n"
1054 "# Uncomment if you have an LCD display.\n"
1055 "#xserver-xorg xserver-xorg/config/monitor/lcd boolean true\n"
1056 "# X has three configuration paths for the monitor. Here's how to preseed\n"
1057 "# the \"medium\" path, which is always available. The \"simple\" path may not\n"
1058 "# be available, and the \"advanced\" path asks too many questions.\n"
1059 "xserver-xorg xserver-xorg/config/monitor/selection-method \\\n"
1060 " select medium\n"
1061 "xserver-xorg xserver-xorg/config/monitor/mode-list \\\n"
1062 " select 1024x768 @ 60 Hz"
1063 msgstr ""
1064
1065 #: preseed.xml:825
1066 #, no-c-format
1067 #. Tag: title
1068 msgid "Preseeding other packages"
1069 msgstr ""
1070
1071 #: preseed.xml:827
1072 #, no-c-format
1073 #. Tag: screen
1074 msgid ""
1075 "# Depending on what software you choose to install, or if things go wrong\n"
1076 "# during the installation process, it's possible that other questions may\n"
1077 "# be asked. You can preseed those too, of course. To get a list of every\n"
1078 "# possible question that could be asked during an install, do an\n"
1079 "# installation, and then run these commands:\n"
1080 "# debconf-get-selections --installer > file\n"
1081 "# debconf-get-selections >> file"
1082 msgstr ""
1083
1084 #: preseed.xml:833
1085 #, no-c-format
1086 #. Tag: title
1087 msgid "Advanced options"
1088 msgstr ""
1089
1090 #: preseed.xml:836
1091 #, no-c-format
1092 #. Tag: title
1093 msgid "Shell commands"
1094 msgstr ""
1095
1096 #: preseed.xml:838
1097 #, no-c-format
1098 #. Tag: screen
1099 msgid ""
1100 "# d-i preseeding is inherently not secure. Nothing in the installer checks\n"
1101 "# for attempts at buffer overflows or other exploits of the values of a\n"
1102 "# preconfiguration file like this one. Only use preconfiguration files from\n"
1103 "# trusted locations! To drive that home, and because it's generally useful,\n"
1104 "# here's a way to run any shell command you'd like inside the installer,\n"
1105 "# automatically.\n"
1106 "\n"
1107 "# This first command is run as early as possible, just after\n"
1108 "# preseeding is read.\n"
1109 "#d-i preseed/early_command string anna-install some-udeb\n"
1110 "\n"
1111 "# This command is run just before the install finishes, but when there is\n"
1112 "# still a usable /target directory. You can chroot to /target and use it\n"
1113 "# directly, or use the apt-install and in-target commands to easily install\n"
1114 "# packages and run commands in the target system.\n"
1115 "#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh"
1116 msgstr ""
1117
1118 #: preseed.xml:843
1119 #, no-c-format
1120 #. Tag: title
1121 msgid "Chainloading preconfiguration files"
1122 msgstr ""
1123
1124 #: preseed.xml:844
1125 #, no-c-format
1126 #. Tag: para
1127 msgid "It is possible to include other preconfiguration files from a preconfiguration file. Any settings in those files will override pre-existing settings from files loaded earlier. This makes it possible to put, for example, general networking settings for your location in one file and more specific settings for certain configurations in other files."
1128 msgstr ""
1129
1130 #: preseed.xml:854
1131 #, no-c-format
1132 #. Tag: screen
1133 msgid ""
1134 "# More that one file can be listed, separated by spaces; all will be\n"
1135 "# loaded. The included files can have preseed/include directives of their\n"
1136 "# own as well. Note that if the filenames are relative, they are taken from\n"
1137 "# the same directory as the preconfiguration file that includes them.\n"
1138 "#d-i preseed/include string x.cfg\n"
1139 "\n"
1140 "# The installer can optionally verify checksums of preconfiguration files\n"
1141 "# before using them. Currently only md5sums are supported, list the md5sums\n"
1142 "# in the same order as the list of files to include.\n"
1143 "#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n"
1144 "\n"
1145 "# More flexibly, this runs a shell command and if it outputs the names of\n"
1146 "# preconfiguration files, includes those files. \n"
1147 "#d-i preseed/include_command \\\n"
1148 "# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n"
1149 "\n"
1150 "# Most flexibly of all, this downloads a program and runs it. The program\n"
1151 "# can use commands such as debconf-set to manupulate the debconf database.\n"
1152 "# Note that if the filenames are relative, they are taken from the same\n"
1153 "# directory as the preconfiguration file that runs them.\n"
1154 "d-i preseed/run string foo.sh"
1155 msgstr ""
1156

  ViewVC Help
Powered by ViewVC 1.1.5