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