source: trunk/preseed/debian-lenny-raid1.txt @ 368

Last change on this file since 368 was 368, checked in by sebas, 15 years ago

configuraciones de los archivos para la instalacion automatica (preseed) de Ubuntu y Debian, con los proxies de paquetes, con el raid1 y mas.

File size: 14.5 KB
Line 
1#### Contents of the preconfiguration file (for lenny)
2### Localization
3# Locale sets language and country.
4d-i debian-installer/locale string en_US
5
6# Keyboard selection.
7#d-i console-tools/archs select at
8d-i console-keymaps-at/keymap select us
9# Example for a different keyboard architecture
10#d-i console-keymaps-usb/keymap select mac-usb-us
11
12### Network configuration
13# netcfg will choose an interface that has link if possible. This makes it
14# skip displaying a list if there is more than one interface.
15d-i netcfg/choose_interface select auto
16
17# To pick a particular interface instead:
18#d-i netcfg/choose_interface select eth1
19
20# If you have a slow dhcp server and the installer times out waiting for
21# it, this might be useful.
22#d-i netcfg/dhcp_timeout string 60
23
24# If you prefer to configure the network manually, uncomment this line and
25# the static network configuration below.
26#d-i netcfg/disable_dhcp boolean true
27
28# If you want the preconfiguration file to work on systems both with and
29# without a dhcp server, uncomment these lines and the static network
30# configuration below.
31#d-i netcfg/dhcp_failed note
32#d-i netcfg/dhcp_options select Configure network manually
33
34# Static network configuration.
35#d-i netcfg/get_nameservers string 192.168.1.1
36#d-i netcfg/get_ipaddress string 192.168.1.42
37#d-i netcfg/get_netmask string 255.255.255.0
38#d-i netcfg/get_gateway string 192.168.1.1
39#d-i netcfg/confirm_static boolean true
40
41# Any hostname and domain names assigned from dhcp take precedence over
42# values set here. However, setting the values still prevents the questions
43# from being shown, even if values come from dhcp.
44##d-i netcfg/get_hostname string unassigned-hostname
45
46# Disable that annoying WEP key dialog.
47d-i netcfg/wireless_wep string
48# The wacky dhcp hostname that some ISPs use as a password of sorts.
49#d-i netcfg/dhcp_hostname string radish
50
51# If non-free firmware is needed for the network or other hardware, you can
52# configure the installer to always try to load it, without prompting. Or
53# change to false to disable asking.
54#d-i hw-detect/load_firmware boolean true
55
56### Network console
57# Use the following settings if you wish to make use of the network-console
58# component for remote installation over SSH. This only makes sense if you
59# intend to perform the remainder of the installation manually.
60d-i anna/choose_modules string network-console
61d-i network-console/password password r00tme
62d-i network-console/password-again password r00tme
63
64### Mirror settings
65# If you select ftp, the mirror/country string does not need to be set.
66#d-i mirror/protocol string ftp
67d-i mirror/country string manual
68d-i mirror/http/hostname string debproxy:3142
69d-i mirror/http/directory string /ftp.de.debian.org/debian
70d-i mirror/http/proxy string
71
72# Suite to install.
73#d-i mirror/suite string testing
74# Suite to use for loading installer components (optional).
75#d-i mirror/udeb/suite string testing
76
77### Clock and time zone setup
78# Controls whether or not the hardware clock is set to UTC.
79d-i clock-setup/utc boolean true
80
81# You may set this to any valid setting for $TZ; see the contents of
82# /usr/share/zoneinfo/ for valid values.
83d-i time/zone string America/Buenos_Aires
84
85# Controls whether to use NTP to set the clock during the install
86d-i clock-setup/ntp boolean true
87# NTP server to use. The default is almost always fine here.
88#d-i clock-setup/ntp-server string ntp.example.com
89
90### Partitioning
91# If the system has free space you can choose to only partition that space.
92#d-i partman-auto/init_automatically_partition select biggest_free
93
94# Alternatively, you can specify a disk to partition. The device name must
95# be given in traditional non-devfs format.
96# Note: A disk must be specified, unless the system has only one disk.
97# For example, to use the first SCSI/SATA hard disk:
98#d-i partman-auto/disk string /dev/sda
99# In addition, you'll need to specify the method to use.
100# The presently available methods are: "regular", "lvm" and "crypto"
101##d-i partman-auto/method string lvm
102
103# If one of the disks that are going to be automatically partitioned
104# contains an old LVM configuration, the user will normally receive a
105# warning. This can be preseeded away...
106##d-i partman-lvm/device_remove_lvm boolean true
107# The same applies to pre-existing software RAID array:
108##d-i partman-md/device_remove_md boolean true
109# And the same goes for the confirmation to write the lvm partitions.
110##d-i partman-lvm/confirm boolean true
111
112# You can choose one of the three predefined partitioning recipes:
113# - atomic: all files in one partition
114# - home:   separate /home partition
115# - multi:  separate /home, /usr, /var, and /tmp partitions
116##d-i partman-auto/choose_recipe select atomic
117
118# Or provide a recipe of your own...
119# The recipe format is documented in the file devel/partman-auto-recipe.txt.
120# If you have a way to get a recipe file into the d-i environment, you can
121# just point at it.
122#d-i partman-auto/expert_recipe_file string /hd-media/recipe
123
124# If not, you can put an entire recipe into the preconfiguration file in one
125# (logical) line. This example creates a small /boot partition, suitable
126# swap, and uses the rest of the space for the root partition:
127#d-i partman-auto/expert_recipe string                         \
128#      boot-root ::                                            \
129#              40 50 100 ext3                                  \
130#                      $primary{ } $bootable{ }                \
131#                      method{ format } format{ }              \
132#                      use_filesystem{ } filesystem{ ext3 }    \
133#                      mountpoint{ /boot }                     \
134#              .                                               \
135#              500 10000 1000000000 ext3                       \
136#                      method{ format } format{ }              \
137#                      use_filesystem{ } filesystem{ ext3 }    \
138#                      mountpoint{ / }                         \
139#              .                                               \
140#              64 512 300% linux-swap                          \
141#                      method{ swap } format{ }                \
142#              .
143
144# This makes partman automatically partition without confirmation, provided
145# that you told it what to do using one of the methods above.
146##d-i partman/confirm_write_new_label boolean true
147##d-i partman/choose_partition select finish
148##d-i partman/confirm boolean true
149
150d-i partman-md/device_remove_md boolean true
151d-i partman-auto/method string raid
152d-i partman-auto/disk string /dev/sda /dev/sdb
153
154d-i partman-auto/expert_recipe string \
155      multiraid ::                                         \
156              5000 5000 5000 raid                          \
157                      $primary{ } $bootable{ } method{ raid }           \
158              .                                            \
159              2000 2000 2000 raid                             \
160                      method{ raid }                       \
161              .                                            \
162              1024 10000 1000000000 raid                    \
163                      method{ raid }                       \
164              .
165
166d-i partman-auto-raid/recipe string \
167    1 2 0 ext3 /                                           \
168          /dev/sda1#/dev/sdb1    \
169    .                                                      \
170    1 2 0 swap -                                           \
171          /dev/sda5#/dev/sdb5    \
172    .                                                      \
173    1 2 0 ext3 /vservers                                       \
174          /dev/sda6#/dev/sdb6    \
175    .
176
177d-i partman-md/confirm boolean true
178d-i partman/confirm_write_new_label boolean true
179d-i partman/choose_partition select finish
180d-i partman/confirm boolean true
181
182
183### Base system installation
184# Select the initramfs generator used to generate the initrd for 2.6 kernels.
185#d-i base-installer/kernel/linux/initramfs-generators string yaird
186
187# The kernel image (meta) package to be installed; "none" can be used if no
188# kernel is to be installed.
189##d-i base-installer/kernel/image string linux-image-2.6-486
190d-i base-installer/kernel/image string linux-image-vserver-amd64
191
192### Account setup
193# Skip creation of a root account (normal user account will be able to
194# use sudo).
195#d-i passwd/root-login boolean false
196# Alternatively, to skip creation of a normal user account.
197#d-i passwd/make-user boolean false
198
199# Root password, either in clear text
200d-i passwd/root-password password r00tme
201d-i passwd/root-password-again password r00tme
202# or encrypted using an MD5 hash.
203#d-i passwd/root-password-crypted password [MD5 hash]
204
205# To create a normal user account.
206d-i passwd/user-fullname string Sistemas
207d-i passwd/username string sistemas
208# Normal user's password, either in clear text
209d-i passwd/user-password password insecure
210d-i passwd/user-password-again password insecure
211# or encrypted using an MD5 hash.
212#d-i passwd/user-password-crypted password [MD5 hash]
213# Create the first user with the specified UID instead of the default.
214#d-i passwd/user-uid string 1010
215
216# The user account will be added to some standard initial groups. To
217# override that, use this.
218#d-i passwd/user-default-groups string audio cdrom video
219
220### Apt setup
221# You can choose to install non-free and contrib software.
222#d-i apt-setup/non-free boolean true
223#d-i apt-setup/contrib boolean true
224# Uncomment this if you don't want to use a network mirror.
225#d-i apt-setup/use_mirror boolean false
226# Select which update services to use; define the mirrors to be used.
227# Values shown below are the normal defaults.
228#d-i apt-setup/services-select multiselect security, volatile
229#d-i apt-setup/security_host string security.debian.org
230d-i apt-setup/security_host string debproxy:3142/security.debian.org
231
232#d-i apt-setup/volatile_host string volatile.debian.org
233
234# Additional repositories, local[0-9] available
235#d-i apt-setup/local0/repository string \
236#       http://local.server/debian stable main
237#d-i apt-setup/local0/comment string local server
238# Enable deb-src lines
239#d-i apt-setup/local0/source boolean true
240# URL to the public key of the local repository; you must provide a key or
241# apt will complain about the unauthenticated repository and so the
242# sources.list line will be left commented out
243#d-i apt-setup/local0/key string http://local.server/key
244
245# By default the installer requires that repositories be authenticated
246# using a known gpg key. This setting can be used to disable that
247# authentication. Warning: Insecure, not recommended.
248#d-i debian-installer/allow_unauthenticated string true
249
250### Package selection
251tasksel tasksel/first multiselect standard
252# If the desktop task is selected, install the kde and xfce desktops
253# instead of the default gnome desktop.
254#tasksel tasksel/desktop multiselect kde, xfce
255
256# Individual additional packages to install
257d-i pkgsel/include string openssh-server puppet
258# Whether to upgrade packages after debootstrap.
259# Allowed values: none, safe-upgrade, full-upgrade
260#d-i pkgsel/upgrade select none
261
262# Some versions of the installer can report back on what software you have
263# installed, and what software you use. The default is not to report back,
264# but sending reports helps the project determine what software is most
265# popular and include it on CDs.
266popularity-contest popularity-contest/participate boolean false
267
268### Boot loader installation
269# Grub is the default boot loader (for x86). If you want lilo installed
270# instead, uncomment this:
271#d-i grub-installer/skip boolean true
272# To also skip installing lilo, and install no bootloader, uncomment this
273# too:
274#d-i lilo-installer/skip boolean true
275
276# This is fairly safe to set, it makes grub install automatically to the MBR
277# if no other operating system is detected on the machine.
278d-i grub-installer/only_debian boolean true
279
280# This one makes grub-installer install to the MBR if it also finds some other
281# OS, which is less safe as it might not be able to boot that other OS.
282d-i grub-installer/with_other_os boolean true
283
284# Alternatively, if you want to install to a location other than the mbr,
285# uncomment and edit these lines:
286#d-i grub-installer/only_debian boolean false
287#d-i grub-installer/with_other_os boolean false
288#d-i grub-installer/bootdev  string (hd0,0)
289# To install grub to multiple disks:
290#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
291
292# Optional password for grub, either in clear text
293#d-i grub-installer/password password r00tme
294#d-i grub-installer/password-again password r00tme
295# or encrypted using an MD5 hash, see grub-md5-crypt(8).
296#d-i grub-installer/password-crypted password [MD5 hash]
297
298### Finishing up the installation
299# During installations from serial console, the regular virtual consoles
300# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
301# line to prevent this.
302#d-i finish-install/keep-consoles boolean true
303
304# Avoid that last message about the install being complete.
305d-i finish-install/reboot_in_progress note
306
307# This will prevent the installer from ejecting the CD during the reboot,
308# which is useful in some situations.
309#d-i cdrom-detect/eject boolean false
310
311# This is how to make the installer shutdown when finished, but not
312# reboot into the installed system.
313#d-i debian-installer/exit/halt boolean true
314# This will power off the machine instead of just halting it.
315#d-i debian-installer/exit/poweroff boolean true
316
317### Preseeding other packages
318# Depending on what software you choose to install, or if things go wrong
319# during the installation process, it's possible that other questions may
320# be asked. You can preseed those too, of course. To get a list of every
321# possible question that could be asked during an install, do an
322# installation, and then run these commands:
323#   debconf-get-selections --installer > file
324#   debconf-get-selections >> file
325
326
327#### Advanced options
328### Running custom commands during the installation
329# d-i preseeding is inherently not secure. Nothing in the installer checks
330# for attempts at buffer overflows or other exploits of the values of a
331# preconfiguration file like this one. Only use preconfiguration files from
332# trusted locations! To drive that home, and because it's generally useful,
333# here's a way to run any shell command you'd like inside the installer,
334# automatically.
335
336# This first command is run as early as possible, just after
337# preseeding is read.
338#d-i preseed/early_command string anna-install some-udeb
339
340# This command is run just before the install finishes, but when there is
341# still a usable /target directory. You can chroot to /target and use it
342# directly, or use the apt-install and in-target commands to easily install
343# packages and run commands in the target system.
344#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
345
Note: See TracBrowser for help on using the repository browser.