1 | #### Contents of the preconfiguration file (for &releasename;) |
---|
2 | ### Localization |
---|
3 | # Locale sets language and country. |
---|
4 | d-i debian-installer/locale string es_AR.UTF-8 |
---|
5 | |
---|
6 | # Keyboard selection. |
---|
7 | # Disable automatic (interactive) keymap detection. |
---|
8 | d-i console-setup/ask_detect boolean false |
---|
9 | #d-i console-setup/modelcode string pc105 |
---|
10 | d-i console-setup/layoutcode string es |
---|
11 | # To select a variant of the selected layout (if you leave this out, the |
---|
12 | # basic form of the layout will be used): |
---|
13 | #d-i console-setup/variantcode string dvorak |
---|
14 | |
---|
15 | ### Network configuration |
---|
16 | # netcfg will choose an interface that has link if possible. This makes it |
---|
17 | # skip displaying a list if there is more than one interface. |
---|
18 | d-i netcfg/choose_interface select auto |
---|
19 | |
---|
20 | # To pick a particular interface instead: |
---|
21 | #d-i netcfg/choose_interface select eth1 |
---|
22 | |
---|
23 | # If you have a slow dhcp server and the installer times out waiting for |
---|
24 | # it, this might be useful. |
---|
25 | #d-i netcfg/dhcp_timeout string 60 |
---|
26 | |
---|
27 | # If you prefer to configure the network manually, uncomment this line and |
---|
28 | # the static network configuration below. |
---|
29 | #d-i netcfg/disable_dhcp boolean true |
---|
30 | |
---|
31 | # If you want the preconfiguration file to work on systems both with and |
---|
32 | # without a dhcp server, uncomment these lines and the static network |
---|
33 | # configuration below. |
---|
34 | #d-i netcfg/dhcp_failed note |
---|
35 | #d-i netcfg/dhcp_options select Configure network manually |
---|
36 | |
---|
37 | # Static network configuration. |
---|
38 | #d-i netcfg/get_nameservers string 192.168.1.1 |
---|
39 | #d-i netcfg/get_ipaddress string 192.168.1.42 |
---|
40 | #d-i netcfg/get_netmask string 255.255.255.0 |
---|
41 | #d-i netcfg/get_gateway string 192.168.1.1 |
---|
42 | #d-i netcfg/confirm_static boolean true |
---|
43 | |
---|
44 | # Any hostname and domain names assigned from dhcp take precedence over |
---|
45 | # values set here. However, setting the values still prevents the questions |
---|
46 | # from being shown, even if values come from dhcp. |
---|
47 | d-i netcfg/get_hostname string unassigned-hostname |
---|
48 | d-i netcfg/get_domain string unassigned-domain |
---|
49 | |
---|
50 | # Disable that annoying WEP key dialog. |
---|
51 | d-i netcfg/wireless_wep string |
---|
52 | # The wacky dhcp hostname that some ISPs use as a password of sorts. |
---|
53 | #d-i netcfg/dhcp_hostname string radish |
---|
54 | |
---|
55 | # If non-free firmware is needed for the network or other hardware, you can |
---|
56 | # configure the installer to always try to load it, without prompting. Or |
---|
57 | # change to false to disable asking. |
---|
58 | #d-i hw-detect/load_firmware boolean true |
---|
59 | |
---|
60 | ### Mirror settings |
---|
61 | d-i mirror/country string enter information manually |
---|
62 | d-i mirror/http/hostname string debproxy-ubuntu:3142 |
---|
63 | d-i mirror/http/directory string /ar.archive.ubuntu.com/ubuntu |
---|
64 | d-i mirror/http/proxy string |
---|
65 | |
---|
66 | # Suite to install. |
---|
67 | #d-i mirror/suite string dapper |
---|
68 | #d-i mirror/suite string hardy |
---|
69 | |
---|
70 | |
---|
71 | # If you select ftp, the mirror/country string does not need to be set. |
---|
72 | #d-i mirror/protocol string ftp |
---|
73 | #d-i mirror/country string manual |
---|
74 | #d-i mirror/http/hostname string http.us.debian.org |
---|
75 | #d-i mirror/http/directory string /ubuntu |
---|
76 | #d-i mirror/http/proxy string |
---|
77 | |
---|
78 | # Alternatively: by default, the installer uses CC.archive.ubuntu.com where |
---|
79 | # CC is the ISO-3166-2 code for the selected country. You can preseed this |
---|
80 | # so that it does so without asking. |
---|
81 | #d-i mirror/http/mirror select CC.archive.ubuntu.com |
---|
82 | |
---|
83 | # Suite to install. |
---|
84 | #d-i mirror/suite string &releasename; |
---|
85 | # Suite to use for loading installer components (optional). |
---|
86 | #d-i mirror/udeb/suite string &releasename; |
---|
87 | # Components to use for loading installer components (optional). |
---|
88 | #d-i mirror/udeb/components multiselect main, restricted |
---|
89 | |
---|
90 | ### Clock and time zone setup |
---|
91 | # Controls whether or not the hardware clock is set to UTC. |
---|
92 | d-i clock-setup/utc boolean true |
---|
93 | |
---|
94 | # You may set this to any valid setting for $TZ; see the contents of |
---|
95 | # /usr/share/zoneinfo/ for valid values. |
---|
96 | d-i time/zone string America/Buenos_Aires |
---|
97 | |
---|
98 | # Controls whether to use NTP to set the clock during the install |
---|
99 | d-i clock-setup/ntp boolean true |
---|
100 | # NTP server to use. The default is almost always fine here. |
---|
101 | #d-i clock-setup/ntp-server string ntp.example.com |
---|
102 | |
---|
103 | ### Partitioning |
---|
104 | # If the system has free space you can choose to only partition that space. |
---|
105 | # Alternatives: custom, some_device, some_device_crypto, some_device_lvm. |
---|
106 | #d-i partman-auto/init_automatically_partition select biggest_free |
---|
107 | |
---|
108 | # Alternatively, you can specify a disk to partition. The device name must |
---|
109 | # be given in traditional non-devfs format. |
---|
110 | # Note: A disk must be specified, unless the system has only one disk. |
---|
111 | # For example, to use the first SCSI/SATA hard disk: |
---|
112 | d-i partman-auto/disk string /dev/sda |
---|
113 | # In addition, you'll need to specify the method to use. |
---|
114 | # The presently available methods are: "regular", "lvm" and "crypto" |
---|
115 | d-i partman-auto/method string lvm |
---|
116 | |
---|
117 | # If one of the disks that are going to be automatically partitioned |
---|
118 | # contains an old LVM configuration, the user will normally receive a |
---|
119 | # warning. This can be preseeded away... |
---|
120 | d-i partman-lvm/device_remove_lvm boolean true |
---|
121 | # The same applies to pre-existing software RAID array: |
---|
122 | d-i partman-md/device_remove_md boolean true |
---|
123 | # And the same goes for the confirmation to write the lvm partitions. |
---|
124 | d-i partman-lvm/confirm boolean true |
---|
125 | |
---|
126 | # For LVM partitioning, you can select how much of the volume group to use |
---|
127 | # for logical volumes. |
---|
128 | d-i partman-auto-lvm/guided_size string max |
---|
129 | #d-i partman-auto-lvm/guided_size string 10GB |
---|
130 | #d-i partman-auto-lvm/guided_size string 50% |
---|
131 | |
---|
132 | # You can choose one of the three predefined partitioning recipes: |
---|
133 | # - atomic: all files in one partition |
---|
134 | # - home: separate /home partition |
---|
135 | # - multi: separate /home, /usr, /var, and /tmp partitions |
---|
136 | d-i partman-auto/choose_recipe select atomic |
---|
137 | |
---|
138 | # Or provide a recipe of your own... |
---|
139 | # The recipe format is documented in the file devel/partman-auto-recipe.txt. |
---|
140 | # If you have a way to get a recipe file into the d-i environment, you can |
---|
141 | # just point at it. |
---|
142 | #d-i partman-auto/expert_recipe_file string /hd-media/recipe |
---|
143 | |
---|
144 | # If not, you can put an entire recipe into the preconfiguration file in one |
---|
145 | # (logical) line. This example creates a small /boot partition, suitable |
---|
146 | # swap, and uses the rest of the space for the root partition: |
---|
147 | #d-i partman-auto/expert_recipe string \ |
---|
148 | # boot-root :: \ |
---|
149 | # 40 50 100 ext3 \ |
---|
150 | # $primary{ } $bootable{ } \ |
---|
151 | # method{ format } format{ } \ |
---|
152 | # use_filesystem{ } filesystem{ ext3 } \ |
---|
153 | # mountpoint{ /boot } \ |
---|
154 | # . \ |
---|
155 | # 500 10000 1000000000 ext3 \ |
---|
156 | # method{ format } format{ } \ |
---|
157 | # use_filesystem{ } filesystem{ ext3 } \ |
---|
158 | # mountpoint{ / } \ |
---|
159 | # . \ |
---|
160 | # 64 512 300% linux-swap \ |
---|
161 | # method{ swap } format{ } \ |
---|
162 | # . |
---|
163 | |
---|
164 | # This makes partman automatically partition without confirmation, provided |
---|
165 | # that you told it what to do using one of the methods above. |
---|
166 | d-i partman/confirm_write_new_label boolean true |
---|
167 | d-i partman/choose_partition select finish |
---|
168 | d-i partman/confirm boolean true |
---|
169 | |
---|
170 | ### Base system installation |
---|
171 | # Select the initramfs generator used to generate the initrd for 2.6 kernels. |
---|
172 | #d-i base-installer/kernel/linux/initramfs-generators string yaird |
---|
173 | |
---|
174 | # The kernel image (meta) package to be installed; "none" can be used if no |
---|
175 | # kernel is to be installed. |
---|
176 | #d-i base-installer/kernel/image string linux-generic |
---|
177 | |
---|
178 | ### Account setup |
---|
179 | # Skip creation of a root account (normal user account will be able to |
---|
180 | # use sudo). The default is false; preseed this to true if you want to set |
---|
181 | # a root password. |
---|
182 | #d-i passwd/root-login boolean false |
---|
183 | # Alternatively, to skip creation of a normal user account. |
---|
184 | #d-i passwd/make-user boolean false |
---|
185 | |
---|
186 | # Root password, either in clear text |
---|
187 | #d-i passwd/root-password password r00tme |
---|
188 | #d-i passwd/root-password-again password r00tme |
---|
189 | # or encrypted using an MD5 hash. |
---|
190 | #d-i passwd/root-password-crypted password [MD5 hash] |
---|
191 | |
---|
192 | # To create a normal user account. |
---|
193 | #d-i passwd/user-fullname string Ubuntu User |
---|
194 | #d-i passwd/username string ubuntu |
---|
195 | # Normal user's password, either in clear text |
---|
196 | #d-i passwd/user-password password insecure |
---|
197 | #d-i passwd/user-password-again password insecure |
---|
198 | # or encrypted using an MD5 hash. |
---|
199 | #d-i passwd/user-password-crypted password [MD5 hash] |
---|
200 | # Create the first user with the specified UID instead of the default. |
---|
201 | #d-i passwd/user-uid string 1010 |
---|
202 | |
---|
203 | d-i passwd/user-fullname string Administrador |
---|
204 | d-i passwd/username string sistemas |
---|
205 | # Normal user's password, either in clear text |
---|
206 | d-i passwd/user-password password insecure |
---|
207 | d-i passwd/user-password-again password insecure |
---|
208 | |
---|
209 | |
---|
210 | # The user account will be added to some standard initial groups. To |
---|
211 | # override that, use this. |
---|
212 | #d-i passwd/user-default-groups string audio cdrom video |
---|
213 | |
---|
214 | # Set to true if you want to encrypt the first user's home directory. |
---|
215 | d-i user-setup/encrypt-home boolean false |
---|
216 | |
---|
217 | ### Apt setup |
---|
218 | # You can choose to install restricted and universe software, or to install |
---|
219 | # software from the backports repository. |
---|
220 | #d-i apt-setup/restricted boolean true |
---|
221 | #d-i apt-setup/universe boolean true |
---|
222 | #d-i apt-setup/backports boolean true |
---|
223 | # Uncomment this if you don't want to use a network mirror. |
---|
224 | #d-i apt-setup/use_mirror boolean false |
---|
225 | # Select which update services to use; define the mirrors to be used. |
---|
226 | # Values shown below are the normal defaults. |
---|
227 | #d-i apt-setup/services-select multiselect security |
---|
228 | #d-i apt-setup/security_host string security.ubuntu.com |
---|
229 | #d-i apt-setup/security_path string /ubuntu |
---|
230 | |
---|
231 | d-i apt-setup/security_host string debproxy-ubuntu:3142/security.ubuntu.com |
---|
232 | |
---|
233 | # Additional repositories, local[0-9] available |
---|
234 | #d-i apt-setup/local0/repository string \ |
---|
235 | # http://local.server/ubuntu &releasename; main |
---|
236 | #d-i apt-setup/local0/comment string local server |
---|
237 | # Enable deb-src lines |
---|
238 | #d-i apt-setup/local0/source boolean true |
---|
239 | # URL to the public key of the local repository; you must provide a key or |
---|
240 | # apt will complain about the unauthenticated repository and so the |
---|
241 | # sources.list line will be left commented out |
---|
242 | #d-i apt-setup/local0/key string http://local.server/key |
---|
243 | |
---|
244 | # By default the installer requires that repositories be authenticated |
---|
245 | # using a known gpg key. This setting can be used to disable that |
---|
246 | # authentication. Warning: Insecure, not recommended. |
---|
247 | #d-i debian-installer/allow_unauthenticated string true |
---|
248 | |
---|
249 | ### Package selection |
---|
250 | ##tasksel tasksel/first multiselect standard |
---|
251 | tasksel tasksel/first multiselect standard |
---|
252 | #tasksel tasksel/first multiselect ubuntu-desktop |
---|
253 | #tasksel tasksel/first multiselect lamp-server, print-server |
---|
254 | #tasksel tasksel/first multiselect kubuntu-desktop |
---|
255 | |
---|
256 | # Individual additional packages to install |
---|
257 | d-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 | # Language pack selection |
---|
263 | d-i pkgsel/language-packs multiselect es, en |
---|
264 | |
---|
265 | # Policy for applying updates. May be "none" (no automatic updates), |
---|
266 | # "unattended-upgrades" (install security updates automatically), or |
---|
267 | # "landscape" (manage system with Landscape). |
---|
268 | d-i pkgsel/update-policy select none |
---|
269 | |
---|
270 | # Some versions of the installer can report back on what software you have |
---|
271 | # installed, and what software you use. The default is not to report back, |
---|
272 | # but sending reports helps the project determine what software is most |
---|
273 | # popular and include it on CDs. |
---|
274 | #popularity-contest popularity-contest/participate boolean false |
---|
275 | |
---|
276 | ### Boot loader installation |
---|
277 | # Grub is the default boot loader (for x86). If you want lilo installed |
---|
278 | # instead, uncomment this: |
---|
279 | #d-i grub-installer/skip boolean true |
---|
280 | # To also skip installing lilo, and install no bootloader, uncomment this |
---|
281 | # too: |
---|
282 | #d-i lilo-installer/skip boolean true |
---|
283 | |
---|
284 | # This is fairly safe to set, it makes grub install automatically to the MBR |
---|
285 | # if no other operating system is detected on the machine. |
---|
286 | d-i grub-installer/only_debian boolean true |
---|
287 | |
---|
288 | # This one makes grub-installer install to the MBR if it also finds some other |
---|
289 | # OS, which is less safe as it might not be able to boot that other OS. |
---|
290 | d-i grub-installer/with_other_os boolean true |
---|
291 | |
---|
292 | # Alternatively, if you want to install to a location other than the mbr, |
---|
293 | # uncomment and edit these lines: |
---|
294 | #d-i grub-installer/only_debian boolean false |
---|
295 | #d-i grub-installer/with_other_os boolean false |
---|
296 | #d-i grub-installer/bootdev string (hd0,0) |
---|
297 | # To install grub to multiple disks: |
---|
298 | #d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0) |
---|
299 | |
---|
300 | # Optional password for grub, either in clear text |
---|
301 | #d-i grub-installer/password password r00tme |
---|
302 | #d-i grub-installer/password-again password r00tme |
---|
303 | # or encrypted using an MD5 hash, see grub-md5-crypt(8). |
---|
304 | #d-i grub-installer/password-crypted password [MD5 hash] |
---|
305 | |
---|
306 | ### Finishing up the installation |
---|
307 | # During installations from serial console, the regular virtual consoles |
---|
308 | # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next |
---|
309 | # line to prevent this. |
---|
310 | #d-i finish-install/keep-consoles boolean true |
---|
311 | |
---|
312 | # Avoid that last message about the install being complete. |
---|
313 | d-i finish-install/reboot_in_progress note |
---|
314 | |
---|
315 | # This will prevent the installer from ejecting the CD during the reboot, |
---|
316 | # which is useful in some situations. |
---|
317 | #d-i cdrom-detect/eject boolean false |
---|
318 | |
---|
319 | # This is how to make the installer shutdown when finished, but not |
---|
320 | # reboot into the installed system. |
---|
321 | #d-i debian-installer/exit/halt boolean true |
---|
322 | # This will power off the machine instead of just halting it. |
---|
323 | #d-i debian-installer/exit/poweroff boolean true |
---|
324 | |
---|
325 | ### X configuration |
---|
326 | # X can detect the right driver for some cards, but if you're preseeding, |
---|
327 | # you override whatever it chooses. Still, vesa will work most places. |
---|
328 | #xserver-xorg xserver-xorg/config/device/driver select vesa |
---|
329 | |
---|
330 | # A caveat with mouse autodetection is that if it fails, X will retry it |
---|
331 | # over and over. So if it's preseeded to be done, there is a possibility of |
---|
332 | # an infinite loop if the mouse is not autodetected. |
---|
333 | #xserver-xorg xserver-xorg/autodetect_mouse boolean true |
---|
334 | |
---|
335 | # Monitor autodetection is recommended. |
---|
336 | xserver-xorg xserver-xorg/autodetect_monitor boolean true |
---|
337 | # Uncomment if you have an LCD display. |
---|
338 | #xserver-xorg xserver-xorg/config/monitor/lcd boolean true |
---|
339 | # X has three configuration paths for the monitor. Here's how to preseed |
---|
340 | # the "medium" path, which is always available. The "simple" path may not |
---|
341 | # be available, and the "advanced" path asks too many questions. |
---|
342 | xserver-xorg xserver-xorg/config/monitor/selection-method \ |
---|
343 | select medium |
---|
344 | xserver-xorg xserver-xorg/config/monitor/mode-list \ |
---|
345 | select 1024x768 @ 60 Hz |
---|
346 | |
---|
347 | ### Preseeding other packages |
---|
348 | # Depending on what software you choose to install, or if things go wrong |
---|
349 | # during the installation process, it's possible that other questions may |
---|
350 | # be asked. You can preseed those too, of course. To get a list of every |
---|
351 | # possible question that could be asked during an install, do an |
---|
352 | # installation, and then run these commands: |
---|
353 | # debconf-get-selections --installer > file |
---|
354 | # debconf-get-selections >> file |
---|
355 | |
---|
356 | |
---|
357 | #### Advanced options |
---|
358 | ### Running custom commands during the installation |
---|
359 | # d-i preseeding is inherently not secure. Nothing in the installer checks |
---|
360 | # for attempts at buffer overflows or other exploits of the values of a |
---|
361 | # preconfiguration file like this one. Only use preconfiguration files from |
---|
362 | # trusted locations! To drive that home, and because it's generally useful, |
---|
363 | # here's a way to run any shell command you'd like inside the installer, |
---|
364 | # automatically. |
---|
365 | |
---|
366 | # This first command is run as early as possible, just after |
---|
367 | # preseeding is read. |
---|
368 | #d-i preseed/early_command string anna-install some-udeb |
---|
369 | |
---|
370 | # network console sshd :) |
---|
371 | d-i network-console/password password r00tme |
---|
372 | d-i network-console/password-again password r00tme |
---|
373 | d-i preseed/early_command string anna-install network-console |
---|
374 | d-i anna/choose_modules string network-console |
---|
375 | |
---|
376 | # This command is run immediately before the partitioner starts. It may be |
---|
377 | # useful to apply dynamic partitioner preseeding that depends on the state |
---|
378 | # of the disks (which may not be visible when preseed/early_command runs). |
---|
379 | #d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" |
---|
380 | |
---|
381 | # This command is run just before the install finishes, but when there is |
---|
382 | # still a usable /target directory. You can chroot to /target and use it |
---|
383 | # directly, or use the apt-install and in-target commands to easily install |
---|
384 | # packages and run commands in the target system. |
---|
385 | #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh |
---|
386 | |
---|