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