~ubuntu-branches/debian/sid/installation-guide/sid

« back to all changes in this revision

Viewing changes to pt_BR/appendix/example-preseed-sarge.xml

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop, Frans Pop, Joey Hess, Wouter Verhelst
  • Date: 2007-03-19 15:00:12 UTC
  • Revision ID: james.westby@ubuntu.com-20070319150012-gt27pr4xu0ts4cps
Tags: 20070319
[ Frans Pop ]
* Cleaned up definitions of some entities and removed unused ones.
* Implement infrastructure that allows entities to be translated.
  Thanks to Miroslav Kure for providing the patch. Closes: #344048, #406515.
* Disable Korean PDF/PS formats for builds for the website.
* appendix/files: update information about mouse configuration, based on a
  patch from Peter Samuelson (for which thanks). Closes: #406290.
* boot-installer, appendix/preseed: document preseed/interactive parameter.

[ Joey Hess ]
* Fix package name for installation-reports, and manual unfuzzy of all
  translations. Closes: #408408

[ Frans Pop ]
* welcome:
  - make links to FSF and GNU more consistent (closes: #410317)
  - we do not necessarily share the ideals of the FSF (closes: #410129)
  Thanks to Francesco Poli for suggesting these changes.
* using-d-i: guided partitioning now creates swap inside LVM.
  Thanks to Francesco Poli. Closes: #411399.
* Document installs over PPPoE. Based on a text proposed by Eddy Petrisor.
  Closes: #408340.
* installation-howto: update for the integration of base-config into D-I.
* appendix/preseed:
  - as exim no longer asks any questions during installations, there is no
    real need to document it anymore
  - add link to Philip Hand's website as it contains many creative examples
  - document how to select the ftp protocol during mirror selection
  - document how to install from CD/DVD only (and not use a network mirror)
* Update base/standard system and task sizes.

[ Joey Hess ]
* Document debian-installer/allow_unauthenticated.

[ Wouter Verhelst ]
* Update mac68k installation after notes from Finn Thain, upstream mac68k
  kernel hacker.

[ Frans Pop ]
* Replace entity in example-preseed.txt file. Thanks to Geert Stappers for
  spotting the error. Closes: #413257.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- retain these comments for translator revision tracking -->
2
 
<!-- original version: 30372 -->
3
 
<!-- reviewed by Felipe Augusto van de Wiel (faw) 2006.01.01 -->
4
 
<!-- For now we are leaving this file untranslated, we will
5
 
        work on this pretty soon (probably after 2006.Jan.01
6
 
        freeze. (note by faw)
7
 
-->
8
 
 
9
 
<informalexample condition="sarge"><screen>
10
 
#### Startup.
11
 
 
12
 
# To use a preseed file, you'll first need to boot the installer,
13
 
# and tell it what preseed file to use. This is done by passing the
14
 
# kernel a boot parameter, either manually at boot or by editing the
15
 
# syslinux.cfg (or similar) file and adding the parameter to the end
16
 
# of the append line(s) for the kernel.
17
 
#
18
 
# If you're netbooting, use this:
19
 
#   preseed/url=http://host/path/to/preseed
20
 
# If you're remastering a CD, you could use this:
21
 
#   preseed/file=/cdrom/preseed
22
 
# If you're installing from USB media, use this, and put the preseed file
23
 
# in the toplevel directory of the USB stick.
24
 
#   preseed/file=/hd-media/preseed
25
 
# Be sure to copy this file to the location you specify.
26
 
#
27
 
# Some parts of the installation process cannot be automated using
28
 
# some forms of preseeding, because the questions are asked before
29
 
# the preseed file is loaded. For example, if the preseed file is
30
 
# downloaded over the network, the network setup must be done first.
31
 
# One reason to use initrd preseeding is that it allows preseeding
32
 
# of even these early steps of the installation process.
33
 
#
34
 
# If a preseed file cannot be used to preseed some steps, the install can
35
 
# still be fully automated, since you can pass preseed values to the kernel
36
 
# on the command line. Just pass path/to/var=value for any of the preseed
37
 
# variables listed below.
38
 
#
39
 
# While you're at it, you may want to throw a debconf/priority=critical in
40
 
# there, to avoid most questions even if the preseeding below misses some.
41
 
# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit
42
 
# enter to boot the installer.
43
 
#
44
 
# Note that the kernel accepts a maximum of 8 command line options and
45
 
# 8 environment options (including any options added by default for the
46
 
# installer). If these numbers are exceeded, 2.4 kernels will drop any
47
 
# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,
48
 
# you can use 32 command line options and 32 environment options.
49
 
#
50
 
# Some of the default options, like 'vga=normal' may be safely removed
51
 
# for most installations, which may allow you to add more options for
52
 
# preseeding.
53
 
 
54
 
# It is not possible to use preseeding to set language, country, and
55
 
# keyboard. Instead you should use kernel parameters. Example:
56
 
# languagechooser/language-name=English
57
 
# countrychooser/shortlist=US
58
 
# console-keymaps-at/keymap=us
59
 
 
60
 
#### Network configuration.
61
 
 
62
 
# Of course, this won't work if you're loading your preseed file from the
63
 
# network! But it's great if you're booting from CD or USB stick. You can
64
 
# also pass network config parameters in on the kernel params if you are
65
 
# loading preseed files from the network.
66
 
 
67
 
# netcfg will choose an interface that has link if possible. This makes it
68
 
# skip displaying a list if there is more than one interface.
69
 
d-i netcfg/choose_interface select auto
70
 
 
71
 
# If you have a slow dhcp server and the installer times out waiting for
72
 
# it, this might be useful.
73
 
#d-i netcfg/dhcp_timeout string 60
74
 
 
75
 
# If you prefer to configure the network manually, here's how:
76
 
#d-i netcfg/disable_dhcp boolean true
77
 
#d-i netcfg/get_nameservers string 192.168.1.1
78
 
#d-i netcfg/get_ipaddress string 192.168.1.42
79
 
#d-i netcfg/get_netmask string 255.255.255.0
80
 
#d-i netcfg/get_gateway string 192.168.1.1
81
 
#d-i netcfg/confirm_static boolean true
82
 
 
83
 
# Note that any hostname and domain names assigned from dhcp take
84
 
# precedence over values set here. However, setting the values still
85
 
# prevents the questions from being shown even if values come from dhcp.
86
 
d-i netcfg/get_hostname string unassigned-hostname
87
 
d-i netcfg/get_domain string unassigned-domain
88
 
 
89
 
# Disable that annoying WEP key dialog.
90
 
d-i netcfg/wireless_wep string
91
 
# The wacky dhcp hostname that some ISPs use as a password of sorts.
92
 
#d-i netcfg/dhcp_hostname string radish
93
 
 
94
 
#### Mirror settings.
95
 
 
96
 
d-i mirror/country string enter information manually
97
 
d-i mirror/http/hostname string http.us.debian.org
98
 
d-i mirror/http/directory string /debian
99
 
d-i mirror/suite string testing
100
 
d-i mirror/http/proxy string
101
 
 
102
 
#### Partitioning.
103
 
 
104
 
# If the system has free space you can choose to only partition that space.
105
 
#d-i partman-auto/init_automatically_partition \
106
 
#    select Use the largest continuous free space
107
 
 
108
 
# Alternatively, you can specify a disk to partition. The device name can
109
 
# be given in either devfs or traditional non-devfs format.
110
 
# For example, to use the first disk devfs knows of:
111
 
d-i partman-auto/disk string /dev/discs/disc0/disc
112
 
 
113
 
# You can choose from any of the predefined partitioning recipes:
114
 
d-i partman-auto/choose_recipe select \
115
 
     All files in one partition (recommended for new users)
116
 
#d-i partman-auto/choose_recipe select Desktop machine
117
 
#d-i partman-auto/choose_recipe select Multi-user workstation
118
 
 
119
 
# Or provide a recipe of your own...
120
 
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
121
 
# If you have a way to get a recipe file into the d-i environment, you can
122
 
# just point at it.
123
 
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
124
 
 
125
 
# If not, you can put an entire recipe in one line. This example creates
126
 
# a small /boot partition, suitable swap, and uses the rest of the space
127
 
# for the root partition:
128
 
#d-i partman-auto/expert_recipe string boot-root :: \
129
 
#    20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } \
130
 
#    use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \
131
 
#    500 10000 1000000000 ext3 method{ format } format{ } \
132
 
#    use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \
133
 
#    64 512 300% linux-swap method{ swap } format{ } .
134
 
# For reference, here is that same recipe in a more readable form:
135
 
#    boot-root ::
136
 
#       40 50 100 ext3
137
 
#          $primary{ } $bootable{ }
138
 
#          method{ format } format{ }
139
 
#          use_filesystem{ } filesystem{ ext3 }
140
 
#          mountpoint{ /boot }
141
 
#       .
142
 
#       500 10000 1000000000 ext3
143
 
#          method{ format } format{ }
144
 
#          use_filesystem{ } filesystem{ ext3 }
145
 
#          mountpoint{ / }
146
 
#       .
147
 
#       64 512 300% linux-swap
148
 
#          method{ swap } format{ }
149
 
#       .
150
 
 
151
 
# This makes partman automatically partition without confirmation.
152
 
d-i partman/confirm_write_new_label boolean true
153
 
d-i partman/choose_partition select \
154
 
    Finish partitioning and write changes to disk
155
 
d-i partman/confirm boolean true
156
 
 
157
 
#### Boot loader installation.
158
 
 
159
 
# Grub is the default boot loader (for x86). If you want lilo installed
160
 
# instead, uncomment this:
161
 
#d-i grub-installer/skip boolean true
162
 
 
163
 
# This is fairly safe to set, it makes grub install automatically to the MBR
164
 
# if no other operating system is detected on the machine.
165
 
d-i grub-installer/only_debian boolean true
166
 
 
167
 
# This one makes grub-installer install to the MBR if if finds some other OS
168
 
# too, which is less safe as it might not be able to boot that other OS.
169
 
d-i grub-installer/with_other_os boolean true
170
 
 
171
 
# Alternatively, if you want to install to a location other than the mbr,
172
 
# uncomment and edit these lines:
173
 
#d-i grub-installer/bootdev  string (hd0,0)
174
 
#d-i grub-installer/only_debian boolean false
175
 
#d-i grub-installer/with_other_os boolean false
176
 
 
177
 
#### Finishing up the first stage install.
178
 
 
179
 
# Avoid that last message about the install being complete.
180
 
d-i prebaseconfig/reboot_in_progress note
181
 
 
182
 
#### Shell commands.
183
 
 
184
 
# d-i preseeding is inherently not secure. Nothing in the installer checks
185
 
# for attempts at buffer overflows or other exploits of the values of a
186
 
# preseed file like this one. Only use preseed files from trusted
187
 
# locations! To drive that home, and because it's generally useful, here's
188
 
# a way to run any shell command you'd like inside the installer,
189
 
# automatically.
190
 
 
191
 
# This first command is run as early as possible, just after
192
 
# preseeding is read.
193
 
#d-i preseed/early_command string anna-install some-udeb
194
 
 
195
 
# This command is run just before the install finishes, but when there is
196
 
# still a usable /target directory.
197
 
#d-i preseed/late_command string echo foo > /target/etc/bar
198
 
 
199
 
# This command is run just as base-config is starting up.
200
 
#base-config base-config/early_command string echo hi mom
201
 
 
202
 
# This command is run after base-config is done, just before the login:
203
 
# prompt. This is a good way to install a set of packages you want, or to
204
 
# tweak the configuration of the system.
205
 
#base-config base-config/late_command string \
206
 
#    apt-get install zsh; chsh -s /bin/zsh
207
 
 
208
 
###### Preseeding the 2nd stage of the installation.
209
 
 
210
 
#### Preseeding base-config.
211
 
 
212
 
# Avoid the introductory message.
213
 
base-config base-config/intro note
214
 
 
215
 
# Avoid the final message.
216
 
base-config base-config/login note
217
 
 
218
 
# If you installed a display manager, but don't want to start it immediately
219
 
# after base-config finishes.
220
 
#base-config base-config/start-display-manager boolean false
221
 
 
222
 
# Some versions of the installer can report back on what you've installed.
223
 
# The default is not to report back, but sending reports helps the project
224
 
# determine what software is most popular and include it on CDs.
225
 
#popularity-contest popularity-contest/participate boolean false
226
 
 
227
 
#### Clock and time zone setup.
228
 
 
229
 
# Controls whether or not the hardware clock is set to UTC.
230
 
#base-config tzconfig/gmt boolean true
231
 
# If you told the installer that you're in the United States, then you
232
 
# can set the time zone using this variable.
233
 
# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,
234
 
# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)
235
 
#base-config tzconfig/choose_country_zone/US select Eastern
236
 
# If you told it you're in Canada.
237
 
# (Choices are: Newfoundland, Atlantic, Eastern, Central,
238
 
# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)
239
 
#base-config tzconfig/choose_country_zone/CA select Eastern
240
 
# If you told it you're in Brazil. (Choices are: East, West, Acre,
241
 
# DeNoronha, other)
242
 
#base-config tzconfig/choose_country_zone/BR select East
243
 
# Many countries have only one time zone. If you told the installer you're
244
 
# in one of those countries, you can choose its standard time zone via this
245
 
# question.
246
 
#base-config tzconfig/choose_country_zone_single boolean true
247
 
# This question is asked as a fallback for countries other than those
248
 
# listed above, which have more than one time zone. You can preseed one of
249
 
# the time zones, or "other".
250
 
#base-config tzconfig/choose_country_zone_multiple select
251
 
 
252
 
#### Account setup.
253
 
 
254
 
# To preseed the root password, you have to put it in the clear in this
255
 
# file. That is not a very good idea, use caution!
256
 
#passwd passwd/root-password password r00tme
257
 
#passwd passwd/root-password-again password r00tme
258
 
 
259
 
# If you want to skip creation of a normal user account.
260
 
#passwd passwd/make-user boolean false
261
 
 
262
 
# Alternatively, you can preseed the user's name and login.
263
 
#passwd passwd/user-fullname string Debian User
264
 
#passwd passwd/username string debian
265
 
# And their password, but use caution!
266
 
#passwd passwd/user-password password insecure
267
 
#passwd passwd/user-password-again password insecure
268
 
 
269
 
#### Apt setup.
270
 
 
271
 
# This question controls what source the second stage installation uses
272
 
# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list
273
 
# by hand
274
 
base-config apt-setup/uri_type select http
275
 
 
276
 
# If you choose ftp or http, you'll be asked for a country and a mirror.
277
 
base-config apt-setup/country select enter information manually
278
 
base-config apt-setup/hostname string http.us.debian.org
279
 
base-config apt-setup/directory string /debian
280
 
# Stop after choosing one mirror.
281
 
base-config apt-setup/another boolean false
282
 
 
283
 
# You can choose to install non-free and contrib software.
284
 
#base-config apt-setup/non-free boolean true
285
 
#base-config apt-setup/contrib boolean true
286
 
 
287
 
# Do enable security updates.
288
 
base-config apt-setup/security-updates boolean true
289
 
 
290
 
#### Package selection.
291
 
 
292
 
# You can choose to install any combination of tasks that are available.
293
 
# Available tasks as of this writing include: Desktop environment,
294
 
# Web server, Print server, DNS server, File server, Mail server,
295
 
# SQL database, Laptop, Standard system, manual package selection. The
296
 
# last of those will run aptitude. You can also choose to install no
297
 
# tasks, and force the installation of a set of packages in some other
298
 
# way. We recommend always including the Standard system task.
299
 
tasksel tasksel/first multiselect Desktop environment, Standard system
300
 
#tasksel tasksel/first multiselect Web server, Standard system
301
 
 
302
 
#### Mailer configuration.
303
 
 
304
 
# During a normal install, exim asks only a few questions. Here's how to
305
 
# avoid even those. More complicated preseeding is possible.
306
 
exim4-config exim4/dc_eximconfig_configtype \
307
 
    select no configuration at this time
308
 
exim4-config exim4/no_config boolean true
309
 
exim4-config exim4/no_config boolean true
310
 
 
311
 
# It's a good idea to set this to whatever user account you choose to
312
 
# create. Leaving the value blank results in postmaster mail going to
313
 
# /var/mail/mail.
314
 
exim4-config exim4/dc_postmaster string
315
 
 
316
 
#### X Configuration.
317
 
 
318
 
# Preseeding Debian's X config is possible, but you probably need to know
319
 
# some details about the video hardware of the machine, since Debian's X
320
 
# configurator does not do fully automatic configuration of everything.
321
 
 
322
 
# X can detect the right driver for some cards, but if you're preseeding,
323
 
# you override whatever it chooses. Still, vesa will work most places.
324
 
#xserver-xfree86 xserver-xfree86/config/device/driver select vesa
325
 
 
326
 
# A caveat with mouse autodetection is that if it fails, X will retry it
327
 
# over and over. So if it's preseeded to be done, there is a possibility of
328
 
# an infinite loop if the mouse is not autodetected.
329
 
#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true
330
 
 
331
 
# Monitor autodetection is recommended.
332
 
xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true
333
 
# Uncomment if you have an LCD display.
334
 
#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true
335
 
# X has three configuration paths for the monitor. Here's how to preseed
336
 
# the "medium" path, which is always available. The "simple" path may not
337
 
# be available, and the "advanced" path asks too many questions.
338
 
xserver-xfree86 xserver-xfree86/config/monitor/selection-method \
339
 
    select medium
340
 
xserver-xfree86 xserver-xfree86/config/monitor/mode-list \
341
 
    select 1024x768 @ 60 Hz
342
 
 
343
 
#### Everything else.
344
 
 
345
 
# Depending on what software you choose to install, or if things go wrong
346
 
# during the installation process, it's possible that other questions may
347
 
# be asked. You can preseed those too, of course. To get a list of every
348
 
# possible question that could be asked during an install, do an
349
 
# installation, and then run these commands:
350
 
#   debconf-get-selections --installer > file
351
 
#   debconf-get-selections >> file
352
 
 
353
 
# If you like, you can include other preseed files into this one.
354
 
# Any settings in those files will override pre-existing settings from this
355
 
# file. More that one file can be listed, separated by spaces; all will be
356
 
# loaded. The included files can have preseed/include directives of their
357
 
# own as well. Note that if the filenames are relative, they are taken from
358
 
# the same directory as the preseed file that includes them.
359
 
#d-i preseed/include string x.cfg
360
 
 
361
 
# More flexibly, this runs a shell command and if it outputs the names of
362
 
# preseed files, includes those files. For example, to switch configs based
363
 
# on a particular usb storage device (in this case, a built-in card reader):
364
 
#d-i preseed/include_command string \
365
 
#    if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); \
366
 
#    then echo kraken.cfg; else echo otherusb.cfg; fi
367
 
 
368
 
# To check the format of your preseed file before performing an install,
369
 
# you can use debconf-set-selections:
370
 
#   debconf-set-selections -c preseed.cfg
371
 
</screen></informalexample>