source: trunk/preseed/debian-squeeze-desktop.txt @ 401

Last change on this file since 401 was 401, checked in by sebas, 13 years ago

preseed para debian squeeze

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