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