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