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