source: trunk/preseed/ubuntu-804-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: 13.7 KB
Line 
1#d-i preseed/early_command string anna-install partman-auto-raid
2
3#### Contents of the preconfiguration file
4### Localization
5# Locale sets language and country.
6d-i debian-installer/locale string en_US
7
8
9
10# Keyboard selection.
11# Disable automatic (interactive) keymap detection.
12d-i console-setup/ask_detect boolean false
13d-i console-setup/modelcode string pc105
14d-i console-setup/layoutcode string us
15# To select a variant of the selected layout (if you leave this out, the
16# basic form of the layout will be used):
17#d-i console-setup/variantcode string dvorak
18
19### Network configuration
20# netcfg will choose an interface that has link if possible. This makes it
21# skip displaying a list if there is more than one interface.
22#d-i netcfg/choose_interface select auto
23
24# To pick a particular interface instead:
25d-i netcfg/choose_interface select eth0
26
27# If you have a slow dhcp server and the installer times out waiting for
28# it, this might be useful.
29#d-i netcfg/dhcp_timeout string 60
30
31# If you prefer to configure the network manually, uncomment this line and
32# the static network configuration below.
33#d-i netcfg/disable_dhcp boolean true
34
35# If you want the preconfiguration file to work on systems both with and
36# without a dhcp server, uncomment these lines and the static network
37# configuration below.
38#d-i netcfg/dhcp_failed note
39#d-i netcfg/dhcp_options select Configure network manually
40
41# Static network configuration.
42#d-i netcfg/get_nameservers string 192.168.1.1
43#d-i netcfg/get_ipaddress string 192.168.1.42
44#d-i netcfg/get_netmask string 255.255.255.0
45#d-i netcfg/get_gateway string 192.168.1.1
46#d-i netcfg/confirm_static boolean true
47
48# Any hostname and domain names assigned from dhcp take precedence over
49# values set here. However, setting the values still prevents the questions
50# from being shown, even if values come from dhcp.
51d-i netcfg/get_hostname string unassigned-hostname
52d-i netcfg/get_domain string unassigned-domain
53
54# Disable that annoying WEP key dialog.
55d-i netcfg/wireless_wep string
56# The wacky dhcp hostname that some ISPs use as a password of sorts.
57#d-i netcfg/dhcp_hostname string radish
58
59### Mirror settings
60# If you select ftp, the mirror/country string does not need to be set.
61#d-i mirror/protocol string http
62d-i mirror/country string enter information manually
63d-i mirror/http/hostname string debproxy-ubuntu:3142
64d-i mirror/http/directory string /ar.archive.ubuntu.com/ubuntu
65d-i mirror/http/proxy string
66
67# Suite to install.
68d-i mirror/suite string hardy
69# Suite to use for loading installer components (optional).
70d-i mirror/udeb/suite string intrepid
71
72### Partitioning
73# If the system has free space you can choose to only partition that space.
74# Note: this must be preseeded with a localized (translated) value.
75#d-i partman-auto/init_automatically_partition \
76#      select Guided - use the largest continuous free space
77
78# Alternatively, you can specify a disk to partition. The device name
79# must be given in traditional non-devfs format.
80# For example, to use the first SCSI hard disk:
81##d-i partman-auto/disk string /dev/sda
82# In addition, you'll need to specify the method to use.
83# The presently available methods are: "regular", "lvm" and "crypto"
84##d-i partman-auto/method string lvm
85
86d-i partman-auto/method string raid
87#d-i partman-auto/disk string /dev/discs/disc0/disc /dev/discs/disc1/disc
88d-i partman-auto/disk string /dev/sda /dev/sdb
89
90d-i partman-auto/expert_recipe string \
91      multiraid ::                                         \
92              1000 5000 4000 raid                          \
93                      $primary{ } $bootable{ } method{ raid }           \
94              .                                            \
95              64 512 300% raid                             \
96                      method{ raid }                       \
97              .                                            \
98              500 10000 1000000000 raid                    \
99                      method{ raid }                       \
100              .
101
102d-i partman-auto-raid/recipe string \
103    1 2 0 ext3 /                                           \
104          /dev/sda1#/dev/sdb1    \
105    .                                                      \
106    1 2 0 swap -                                           \
107          /dev/sda5#/dev/sdb5    \
108    .                                                      \
109    1 2 0 ext3 /home                                       \
110          /dev/sda6#/dev/sdb6    \
111    .
112
113d-i partman-md/confirm boolean true
114d-i partman/confirm_write_new_label boolean true
115d-i partman/choose_partition select finish
116d-i partman/confirm boolean false
117
118
119
120# If one of the disks that are going to be automatically partitioned
121# contains an old LVM configuration, the user will normally receive a
122# warning. This can be preseeded away...
123##d-i partman-auto/purge_lvm_from_device boolean true
124# And the same goes for the confirmation to write the lvm partitions.
125##d-i partman-lvm/confirm boolean true
126
127# You can choose from any of the predefined partitioning recipes.
128# Note: this must be preseeded with a localized (translated) value.
129##d-i partman-auto/choose_recipe \
130##       select All files in one partition (recommended for new users)
131#d-i partman-auto/choose_recipe \
132#       select Separate /home partition
133#d-i partman-auto/choose_recipe \
134#       select Separate /home, /usr, /var, and /tmp partitions
135
136# Or provide a recipe of your own...
137# The recipe format is documented in the file devel/partman-auto-recipe.txt.
138# If you have a way to get a recipe file into the d-i environment, you can
139# just point at it.
140#d-i partman-auto/expert_recipe_file string /hd-media/recipe
141
142# If not, you can put an entire recipe into the preconfiguration file in one
143# (logical) line. This example creates a small /boot partition, suitable
144# swap, and uses the rest of the space for the root partition:
145#d-i partman-auto/expert_recipe string                         \
146#      boot-root ::                                            \
147#              40 50 100 ext3                                  \
148#                      $primary{ } $bootable{ }                \
149#                      method{ format } format{ }              \
150#                      use_filesystem{ } filesystem{ ext3 }    \
151#                      mountpoint{ /boot }                     \
152#              .                                               \
153#              500 10000 1000000000 ext3                       \
154#                      method{ format } format{ }              \
155#                      use_filesystem{ } filesystem{ ext3 }    \
156#                      mountpoint{ / }                         \
157#              .                                               \
158#              64 512 300% linux-swap                          \
159#                      method{ swap } format{ }                \
160#              .
161
162# This makes partman automatically partition without confirmation.
163##d-i partman/confirm_write_new_label boolean true
164##d-i partman/choose_partition \
165##       select Finish partitioning and write changes to disk
166##d-i partman/confirm boolean true
167
168### Clock and time zone setup
169# Controls whether or not the hardware clock is set to UTC.
170d-i clock-setup/utc boolean true
171
172# You may set this to any valid setting for $TZ; see the contents of
173# /usr/share/zoneinfo/ for valid values.
174d-i time/zone string America/Buenos_Aires
175
176### Apt setup
177# You can choose to install restricted and universe software, or to install
178# software from the backports repository.
179#d-i apt-setup/restricted boolean true
180#d-i apt-setup/universe boolean true
181#d-i apt-setup/backports boolean true
182# Uncomment this if you don't want to use a network mirror.
183#d-i apt-setup/use_mirror boolean false
184# Uncomment this to avoid adding security sources, or
185# add a hostname to use a different server than security.ubuntu.com.
186d-i apt-setup/security_host string debproxy-ubuntu:3142/security.ubuntu.com
187
188# Additional repositories, local[0-9] available
189#d-i apt-setup/local0/repository string \
190#       deb http://local.server/ubuntu gutsy main
191#d-i apt-setup/local0/comment string local server
192# Enable deb-src lines
193#d-i apt-setup/local0/source boolean true
194# URL to the public key of the local repository; you must provide a key or
195# apt will complain about the unauthenticated repository and so the
196# sources.list line will be left commented out
197#d-i apt-setup/local0/key string http://local.server/key
198
199# By default the installer requires that repositories be authenticated
200# using a known gpg key. This setting can be used to disable that
201# authentication. Warning: Insecure, not recommended.
202#d-i debian-installer/allow_unauthenticated string true
203
204### Account setup
205# Skip creation of a root account (normal user account will be able to
206# use sudo). The default is false; preseed this to true if you want to set
207# a root password.
208#d-i passwd/root-login boolean false
209# Alternatively, to skip creation of a normal user account.
210#d-i passwd/make-user boolean false
211
212# Root password, either in clear text
213d-i passwd/root-password password r00tme
214d-i passwd/root-password-again password r00tme
215# or encrypted using an MD5 hash.
216#d-i passwd/root-password-crypted password [MD5 hash]
217
218# To create a normal user account.
219d-i passwd/user-fullname string Administrador
220d-i passwd/username string sistemas
221# Normal user's password, either in clear text
222d-i passwd/user-password password insecure
223d-i passwd/user-password-again password insecure
224# or encrypted using an MD5 hash.
225#d-i passwd/user-password-crypted password [MD5 hash]
226
227### Base system installation
228# Select the initramfs generator used to generate the initrd for 2.6 kernels.
229#d-i base-installer/kernel/linux/initramfs-generators string yaird
230
231### Boot loader installation
232# Grub is the default boot loader (for x86). If you want lilo installed
233# instead, uncomment this:
234#d-i grub-installer/skip boolean true
235
236# This is fairly safe to set, it makes grub install automatically to the MBR
237# if no other operating system is detected on the machine.
238d-i grub-installer/only_debian boolean true
239
240# This one makes grub-installer install to the MBR if it also finds some other
241# OS, which is less safe as it might not be able to boot that other OS.
242d-i grub-installer/with_other_os boolean true
243
244# Alternatively, if you want to install to a location other than the mbr,
245# uncomment and edit these lines:
246#d-i grub-installer/only_debian boolean false
247#d-i grub-installer/with_other_os boolean false
248#d-i grub-installer/bootdev  string (hd0,0)
249# To install grub to multiple disks:
250#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
251
252### Package selection
253tasksel tasksel/first multiselect standard
254#tasksel tasksel/first multiselect standard, lamp-server
255#tasksel tasksel/first multiselect standard, kubuntu-desktop
256
257# Individual additional packages to install
258d-i pkgsel/include string openssh-server screen puppet
259
260# Some versions of the installer can report back on what software you have
261# installed, and what software you use. The default is not to report back,
262# but sending reports helps the project determine what software is most
263# popular and include it on CDs.
264#popularity-contest popularity-contest/participate boolean false
265
266### Finishing up the first stage install
267# Avoid that last message about the install being complete.
268d-i finish-install/reboot_in_progress note
269
270# This will prevent the installer from ejecting the CD during the reboot,
271# which is useful in some situations.
272#d-i cdrom-detect/eject boolean false
273
274### X configuration
275# X can detect the right driver for some cards, but if you're preseeding,
276# you override whatever it chooses. Still, vesa will work most places.
277#xserver-xorg xserver-xorg/config/device/driver select vesa
278
279# A caveat with mouse autodetection is that if it fails, X will retry it
280# over and over. So if it's preseeded to be done, there is a possibility of
281# an infinite loop if the mouse is not autodetected.
282#xserver-xorg xserver-xorg/autodetect_mouse boolean true
283
284# Monitor autodetection is recommended.
285#xserver-xorg xserver-xorg/autodetect_monitor boolean true
286# Uncomment if you have an LCD display.
287#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
288# X has three configuration paths for the monitor. Here's how to preseed
289# the "medium" path, which is always available. The "simple" path may not
290# be available, and the "advanced" path asks too many questions.
291#xserver-xorg xserver-xorg/config/monitor/selection-method \
292#       select medium
293#xserver-xorg xserver-xorg/config/monitor/mode-list \
294#       select 1024x768 @ 60 Hz
295
296### Preseeding other packages
297# Depending on what software you choose to install, or if things go wrong
298# during the installation process, it's possible that other questions may
299# be asked. You can preseed those too, of course. To get a list of every
300# possible question that could be asked during an install, do an
301# installation, and then run these commands:
302#   debconf-get-selections --installer > file
303#   debconf-get-selections >> file
304
305
306#### Advanced options
307### Running custom commands during the installation
308# d-i preseeding is inherently not secure. Nothing in the installer checks
309# for attempts at buffer overflows or other exploits of the values of a
310# preconfiguration file like this one. Only use preconfiguration files from
311# trusted locations! To drive that home, and because it's generally useful,
312# here's a way to run any shell command you'd like inside the installer,
313# automatically.
314
315# This first command is run as early as possible, just after
316# preseeding is read.
317#d-i preseed/early_command string anna-install some-udeb
318
319# This command is run just before the install finishes, but when there is
320# still a usable /target directory. You can chroot to /target and use it
321# directly, or use the apt-install and in-target commands to easily install
322# packages and run commands in the target system.
323#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
324
Note: See TracBrowser for help on using the repository browser.