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