1 ### Contents of the preconfiguration file
3 # SEE http://www.debian.org/releases/squeeze/example-preseed.txt
4 # Locale sets language and country.
5 #INTL#d-i debian-installer/country string FR
6 #INTL#d-i debian-installer/locale string fr_FR.UTF-8
9 #d-i console-tools/archs select at
10 #INTL#d-i console-keymaps-at/keymap select fr-latin9
11 # Example for a different keyboard architecture
12 #d-i console-keymaps-usb/keymap select mac-usb-us
14 ### Network configuration
15 # netcfg will choose an interface that has link if possible. This makes it
16 # skip displaying a list if there is more than one interface.
17 d-i netcfg/choose_interface select auto
19 # To pick a particular interface instead:
20 #d-i netcfg/choose_interface select eth1
22 # If you have a slow dhcp server and the installer times out waiting for
23 # it, this might be useful.
24 #d-i netcfg/dhcp_timeout string 60
26 # If you prefer to configure the network manually, uncomment this line and
27 # the static network configuration below.
28 #d-i netcfg/disable_dhcp boolean true
30 # If you want the preconfiguration file to work on systems both with and
31 # without a dhcp server, uncomment these lines and the static network
32 # configuration below.
33 #d-i netcfg/dhcp_failed note
34 #d-i netcfg/dhcp_options select Configure network manually
36 # Static network configuration.
37 #d-i netcfg/get_nameservers string 192.168.1.1
38 #d-i netcfg/get_ipaddress string 192.168.1.42
39 #d-i netcfg/get_netmask string 255.255.255.0
40 #d-i netcfg/get_gateway string 192.168.1.1
41 #d-i netcfg/confirm_static boolean true
43 # Any hostname and domain names assigned from dhcp take precedence over
44 # values set here. However, setting the values still prevents the questions
45 # from being shown, even if values come from dhcp.
46 d-i netcfg/get_hostname string myforge
47 d-i netcfg/get_domain string mytld
49 # Disable that annoying WEP key dialog.
50 d-i netcfg/wireless_wep string
51 # The wacky dhcp hostname that some ISPs use as a password of sorts.
52 #d-i netcfg/dhcp_hostname string radish
55 # If you select ftp, the mirror/country string does not need to be set.
56 #d-i mirror/protocol string ftp
57 #CDD#d-i mirror/country string enter information manually
58 #CDD#d-i mirror/http/hostname string 192.168.0.218
59 #CDD#d-i mirror/http/directory string /debian
60 #CDD#d-i mirror/http/proxy string
63 #d-i mirror/suite string testing
64 # Suite to use for loading installer components (optional).
65 #d-i mirror/udeb/suite string testing
68 # If the system has free space you can choose to only partition that space.
69 # Note: this must be preseeded with a localized (translated) value.
70 #d-i partman-auto/init_automatically_partition \
71 # select Guided - use the largest continuous free space
73 # Alternatively, you can specify a disk to partition. The device name
74 # can be given in either devfs or traditional non-devfs format.
75 # For example, to use the first disk:
76 #d-i partman-auto/disk string /dev/discs/disc0/disc
77 #CDD#d-i partman-auto/disk string /dev/hda
78 # In addition, you'll need to specify the method to use.
79 # The presently available methods are: "regular", "lvm" and "crypto"
80 #NOAUTOPART#d-i partman-auto/method string regular
82 # If one of the disks that are going to be automatically partitioned
83 # contains an old LVM configuration, the user will normally receive a
84 # warning. This can be preseeded away...
85 #NOAUTOPART#d-i partman-auto/purge_lvm_from_device boolean true
86 # And the same goes for the confirmation to write the lvm partitions.
87 #NOAUTOPART#d-i partman-lvm/confirm boolean true
89 # You can choose from any of the predefined partitioning recipes.
90 # Note: this must be preseeded with a localized (translated) value.
91 #NOAUTOPART#d-i partman-auto/choose_recipe \
92 #NOAUTOPART# select All files in one partition (recommended for new users)
93 #d-i partman-auto/choose_recipe \
94 # select Separate /home partition
95 #d-i partman-auto/choose_recipe \
96 # select Separate /home, /usr, /var, and /tmp partitions
98 # Or provide a recipe of your own...
99 # The recipe format is documented in the file devel/partman-auto-recipe.txt.
100 # If you have a way to get a recipe file into the d-i environment, you can
102 #d-i partman-auto/expert_recipe_file string /hd-media/recipe
104 # If not, you can put an entire recipe into the preconfiguration file in one
105 # (logical) line. This example creates a small /boot partition, suitable
106 # swap, and uses the rest of the space for the root partition:
107 #d-i partman-auto/expert_recipe string \
110 # $primary{ } $bootable{ } \
111 # method{ format } format{ } \
112 # use_filesystem{ } filesystem{ ext3 } \
113 # mountpoint{ /boot } \
115 # 500 10000 1000000000 ext3 \
116 # method{ format } format{ } \
117 # use_filesystem{ } filesystem{ ext3 } \
120 # 64 512 300% linux-swap \
121 # method{ swap } format{ } \
124 # This makes partman automatically partition without confirmation.
125 #NOAUTOPART#d-i partman/confirm_write_new_label boolean true
126 #NOAUTOPART#d-i partman/choose_partition \
127 #NOAUTOPART# select Finish partitioning and write changes to disk
128 #NOAUTOPART#d-i partman/confirm boolean true
130 ### Clock and time zone setup
131 # Controls whether or not the hardware clock is set to UTC.
132 d-i clock-setup/utc boolean true
134 # You may set this to any valid setting for $TZ; see the contents of
135 # /usr/share/zoneinfo/ for valid values.
136 d-i time/zone string Europe/Paris
139 # You can choose to install non-free and contrib software.
140 #d-i apt-setup/non-free boolean true
141 #d-i apt-setup/contrib boolean true
142 # Uncomment this if you don't want to use a network mirror.
143 d-i apt-setup/use_mirror boolean false
144 # Uncomment this to avoid adding security sources, or
145 # add a hostname to use a different server than security.debian.org.
146 #CDD#d-i apt-setup/security_host string 192.168.0.218/debian-security
147 # Select which update services to use; define the mirrors to be used.
148 # Values shown below are the normal defaults.
149 #d-i apt-setup/services-select multiselect security, volatile
150 d-i apt-setup/services-select multiselect
151 #d-i apt-setup/security_host string security.debian.org
152 #d-i apt-setup/volatile_host string volatile.debian.org
155 # Additional repositories, local[0-9] available
156 #d-i apt-setup/local0/repository string \
157 # http://local.server/debian stable main
158 #d-i apt-setup/local0/repository string http://localhost/debian-local etch main
159 #d-i apt-setup/local0/repository string http://gforge.eu/debian etch main
160 #MIR#d-i apt-setup/local0/repository string http://debian.fusionforge.org/debian %DIST% main
161 #d-i apt-setup/local0/comment string local server
162 # Enable deb-src lines
163 #d-i apt-setup/local0/source boolean true
164 #MIR#d-i apt-setup/local0/source boolean true
165 # URL to the public key of the local repository; you must provide a key or
166 # apt will complain about the unauthenticated repository and so the
167 # sources.list line will be left commented out
168 #d-i apt-setup/local0/key string http://local.server/key
169 #d-i apt-setup/local0/key string http://localhost/debian-local/key
170 #d-i apt-setup/local0/key string http://gforge.eu/key
171 #MIR#d-i apt-setup/local0/key string http://debian.fusionforge.org/key
173 #MIR#d-i apt-setup/local1/repository string http://ftp2.fr.debian.org/debian %DIST% main
174 #MIR#d-i apt-setup/local1/source boolean true
175 # By default the installer requires that repositories be authenticated
176 # using a known gpg key. This setting can be used to disable that
177 # authentication. Warning: Insecure, not recommended.
178 #d-i debian-installer/allow_unauthenticated string true
179 #d-i debian-installer/allow_unauthenticated string true
183 # automatically set the CD as the installation media.
184 #base-config apt-setup/uri_type select http
185 base-config apt-setup/uri_type select cdrom
186 # only scan the first CD by default
187 base-config apt-setup/cd/another boolean false
188 # don't ask to use additional mirrors
189 base-config apt-setup/another boolean false
190 # Use a network mirror?
191 apt-mirror-setup apt-setup/use_mirror boolean false
193 # Do enable security updates.
194 #base-config apt-setup/security-updates boolean true
196 # You can choose to install non-free and contrib software.
197 #d-i apt-setup/non-free boolean true
198 #d-i apt-setup/contrib boolean true
203 # Skip creation of a root account (normal user account will be able to
205 #d-i passwd/root-login boolean false
206 # Alternatively, to skip creation of a normal user account.
207 #d-i passwd/make-user boolean false
209 # Root password, either in clear text
210 #CDD#d-i passwd/root-password password gforge
211 #CDD#d-i passwd/root-password-again password gforge
212 # or encrypted using an MD5 hash.
213 #d-i passwd/root-password-crypted password [MD5 hash]
215 # To create a normal user account.
216 d-i passwd/user-fullname string FusionForge Debian User
217 d-i passwd/username string ffuser
218 # Normal user's password, either in clear text
219 #CDD#d-i passwd/user-password password gfuser
220 #CDD#d-i passwd/user-password-again password gfuser
221 # or encrypted using an MD5 hash.
222 d-i passwd/user-password-crypted password **LCK**
224 ### Base system installation
225 # Select the initramfs generator used to generate the initrd for 2.6 kernels.
226 #d-i base-installer/kernel/linux/initramfs-generators string yaird
228 ### Boot loader installation
229 # Grub is the default boot loader (for x86). If you want lilo installed
230 # instead, uncomment this:
231 #d-i grub-installer/skip boolean true
233 # This is fairly safe to set, it makes grub install automatically to the MBR
234 # if no other operating system is detected on the machine.
235 d-i grub-installer/only_debian boolean true
237 # This one makes grub-installer install to the MBR if it also finds some other
238 # OS, which is less safe as it might not be able to boot that other OS.
239 d-i grub-installer/with_other_os boolean true
241 # Alternatively, if you want to install to a location other than the mbr,
242 # uncomment and edit these lines:
243 #d-i grub-installer/only_debian boolean false
244 #d-i grub-installer/with_other_os boolean false
245 #d-i grub-installer/bootdev string (hd0,0)
246 # To install grub to multiple disks:
247 #d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
249 ### Package selection
250 #tasksel tasksel/first multiselect standard, web-server
252 # If the desktop task is selected, install the kde and xfce desktops
253 # instead of the default gnome desktop.
254 #tasksel tasksel/desktop multiselect kde-desktop, xfce-desktop
257 #tasksel tasksel/first multiselect standard, kde-desktop
258 #tasksel tasksel/first multiselect standard, gnome-desktop
259 tasksel tasksel/first multiselect standard
262 # Individual additional packages to install
263 d-i pkgsel/include string vim ntpdate ntp build-essential debconf-utils \
264 exim4-daemon-heavy mailman proftpd apache2-mpm-prefork openssl \
265 localization-config console-tools console-data console-common console-setup \
266 sudo devscripts fakeroot pbuilder svn-buildpackage dpatch debhelper reprepro openssh-server
269 # Some versions of the installer can report back on what software you have
270 # installed, and what software you use. The default is not to report back,
271 # but sending reports helps the project determine what software is most
272 # popular and include it on CDs.
273 popularity-contest popularity-contest/participate boolean false
275 ### Finishing up the first stage install
276 # Avoid that last message about the install being complete.
277 d-i finish-install/reboot_in_progress note
279 # This will prevent the installer from ejecting the CD during the reboot,
280 # which is useful in some situations.
281 #d-i cdrom-detect/eject boolean false
284 # X can detect the right driver for some cards, but if you're preseeding,
285 # you override whatever it chooses. Still, vesa will work most places.
286 #xserver-xorg xserver-xorg/config/device/driver select vesa
288 # A caveat with mouse autodetection is that if it fails, X will retry it
289 # over and over. So if it's preseeded to be done, there is a possibility of
290 # an infinite loop if the mouse is not autodetected.
291 #xserver-xorg xserver-xorg/autodetect_mouse boolean true
293 # Monitor autodetection is recommended.
294 xserver-xorg xserver-xorg/autodetect_monitor boolean true
295 # Uncomment if you have an LCD display.
296 #xserver-xorg xserver-xorg/config/monitor/lcd boolean true
297 # X has three configuration paths for the monitor. Here's how to preseed
298 # the "medium" path, which is always available. The "simple" path may not
299 # be available, and the "advanced" path asks too many questions.
300 xserver-xorg xserver-xorg/config/monitor/selection-method \
302 xserver-xorg xserver-xorg/config/monitor/mode-list \
303 select 1024x768 @ 60 Hz
305 ### Preseeding other packages
306 # Depending on what software you choose to install, or if things go wrong
307 # during the installation process, it's possible that other questions may
308 # be asked. You can preseed those too, of course. To get a list of every
309 # possible question that could be asked during an install, do an
310 # installation, and then run these commands:
311 # debconf-get-selections --installer > file
312 # debconf-get-selections >> file
315 mailman mailman/queue_files_present note
316 mailman mailman/default_server_language select fr
317 mailman mailman/gate_news boolean false
318 mailman mailman/site_languages multiselect en,ru,fr
319 mailman mailman/used_languages string
320 mailman mailman/create_site_list note
322 courier-base courier-base/maildir string Maildir
323 courier-base courier-base/webadmin-configmode boolean false
325 proftpd shared/proftpd/inetd_or_standalone select standalone
327 #CDD#gforge-db-postgresql gforge/shared/admin_password password gforge
328 #CDD#gforge-db-postgresql gforge/shared/admin_password_confirm password gforge
329 gforge-db-postgresql gforge/shared/db_host string localhost
330 gforge-db-postgresql gforge/shared/replace_file_remove boolean true
331 gforge-web-apache gforge/shared/replace_file_remove boolean true
332 gforge-db-postgresql gforge/shared/replace_file_install boolean true
333 gforge-web-apache gforge/shared/replace_file_install boolean true
334 #gforge-web-apache gforge/shared/ip_address string 192.168.0.47
336 ucf ucf/changeprompt select install_new
338 #### Advanced options
339 ### Running custom commands during the installation
340 # d-i preseeding is inherently not secure. Nothing in the installer checks
341 # for attempts at buffer overflows or other exploits of the values of a
342 # preconfiguration file like this one. Only use preconfiguration files from
343 # trusted locations! To drive that home, and because it's generally useful,
344 # here's a way to run any shell command you'd like inside the installer,
347 # This first command is run as early as possible, just after
348 # preseeding is read.
349 #d-i preseed/early_command string anna-install some-udeb
351 # This command is run just before the install finishes, but when there is
352 # still a usable /target directory. You can chroot to /target and use it
353 # directly, or use the apt-install and in-target commands to easily install
354 # packages and run commands in the target system.
355 #in-target chsh -s /bin/zsh ;
356 d-i preseed/late_command string apt-install zsh; \
357 in-target chsh -s /bin/zsh ; \
358 in-target chmod o+rw /dev/null ; \
359 apt-install postgresql-8.4 ; \
360 in-target mount /proc ; \
361 UCF_FORCE_CONFFNEW=yes apt-install fusionforge-full ; \
362 in-target ln -s /var/lib/gforge/chroot/cvsroot /cvsroot ; \
363 in-target ln -s /var/lib/gforge/chroot/svnroot /svnroot ; \
364 echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
365 echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
366 echo 'syntax on' >> /target/etc/vim/vimrc.local ;
369 #in-target /etc/init.d/postgresql-8.4 start ; \
370 #in-target echo "===== PAUSE =====" ; \
371 #in-target sleep 600 ; \
372 #UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew fusionforge-full ; \
375 ##d-i preseed/late_command string apt-install zsh; \
376 ##in-target mkdir -p /etc/apache/ssl.crt /etc/apache/ssl.key /usr/share/gforge/scm ; \
377 ##in-target /usr/sbin/make-ssl-cert generate-default-snakeoil ; \
378 ##in-target ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/apache/ssl.crt/server.crt ; \
379 ##in-target ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/apache/ssl.key/server.key ; \
380 ##in-target chmod o+rw /dev/null ; \
381 ##apt-install postgresql-8.1 ; \
382 ##in-target mount /proc ; \
383 ##in-target /etc/init.d/postgresql-8.1 start ; \
384 ##UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew gforge gforge-plugin-scmcvs gforge-plugin-scmsvn ; \
385 ##UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew gforge-plugins-extra ; \
386 ##in-target ln -s /etc/gforge/httpd.conf /etc/apache2/conf.d/gforge.httpd.conf ; \
387 ##in-target a2enmod vhost_alias ; \
388 ##in-target a2dissite default ; \
389 ##in-target ln -s /var/lib/gforge/chroot/cvsroot /cvsroot ; \
390 ##in-target ln -s /var/lib/gforge/chroot/svnroot /svnroot ; \
391 ##echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
392 ##echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
393 ##echo 'syntax on' >> /target/etc/vim/vimrc.local ;