1 #### Contents of the preconfiguration file
3 # Locale sets language and country.
4 #INTL#d-i debian-installer/country string FR
5 #INTL#d-i debian-installer/locale string fr_FR.UTF-8
8 #d-i console-tools/archs select at
9 #INTL#d-i console-keymaps-at/keymap select fr-latin9
10 # Example for a different keyboard architecture
11 #d-i console-keymaps-usb/keymap select mac-usb-us
13 ### Network configuration
14 # netcfg will choose an interface that has link if possible. This makes it
15 # skip displaying a list if there is more than one interface.
16 d-i netcfg/choose_interface select auto
18 # To pick a particular interface instead:
19 #d-i netcfg/choose_interface select eth1
21 # If you have a slow dhcp server and the installer times out waiting for
22 # it, this might be useful.
23 #d-i netcfg/dhcp_timeout string 60
25 # If you prefer to configure the network manually, uncomment this line and
26 # the static network configuration below.
27 #d-i netcfg/disable_dhcp boolean true
29 # If you want the preconfiguration file to work on systems both with and
30 # without a dhcp server, uncomment these lines and the static network
31 # configuration below.
32 #d-i netcfg/dhcp_failed note
33 #d-i netcfg/dhcp_options select Configure network manually
35 # Static network configuration.
36 #d-i netcfg/get_nameservers string 192.168.1.1
37 #d-i netcfg/get_ipaddress string 192.168.1.42
38 #d-i netcfg/get_netmask string 255.255.255.0
39 #d-i netcfg/get_gateway string 192.168.1.1
40 #d-i netcfg/confirm_static boolean true
42 # Any hostname and domain names assigned from dhcp take precedence over
43 # values set here. However, setting the values still prevents the questions
44 # from being shown, even if values come from dhcp.
45 d-i netcfg/get_hostname string myforge
46 d-i netcfg/get_domain string mytld
48 # Disable that annoying WEP key dialog.
49 d-i netcfg/wireless_wep string
50 # The wacky dhcp hostname that some ISPs use as a password of sorts.
51 #d-i netcfg/dhcp_hostname string radish
54 # If you select ftp, the mirror/country string does not need to be set.
55 #d-i mirror/protocol string ftp
56 #CDD#d-i mirror/country string enter information manually
57 #CDD#d-i mirror/http/hostname string 192.168.0.218
58 #CDD#d-i mirror/http/directory string /debian
59 #CDD#d-i mirror/http/proxy string
62 #d-i mirror/suite string testing
63 # Suite to use for loading installer components (optional).
64 #d-i mirror/udeb/suite string testing
67 # If the system has free space you can choose to only partition that space.
68 # Note: this must be preseeded with a localized (translated) value.
69 #d-i partman-auto/init_automatically_partition \
70 # select Guided - use the largest continuous free space
72 # Alternatively, you can specify a disk to partition. The device name
73 # can be given in either devfs or traditional non-devfs format.
74 # For example, to use the first disk:
75 #d-i partman-auto/disk string /dev/discs/disc0/disc
76 #CDD#d-i partman-auto/disk string /dev/hda
77 # In addition, you'll need to specify the method to use.
78 # The presently available methods are: "regular", "lvm" and "crypto"
79 #NOAUTOPART#d-i partman-auto/method string regular
81 # If one of the disks that are going to be automatically partitioned
82 # contains an old LVM configuration, the user will normally receive a
83 # warning. This can be preseeded away...
84 #NOAUTOPART#d-i partman-auto/purge_lvm_from_device boolean true
85 # And the same goes for the confirmation to write the lvm partitions.
86 #NOAUTOPART#d-i partman-lvm/confirm boolean true
88 # You can choose from any of the predefined partitioning recipes.
89 # Note: this must be preseeded with a localized (translated) value.
90 #NOAUTOPART#d-i partman-auto/choose_recipe \
91 #NOAUTOPART# select All files in one partition (recommended for new users)
92 #d-i partman-auto/choose_recipe \
93 # select Separate /home partition
94 #d-i partman-auto/choose_recipe \
95 # select Separate /home, /usr, /var, and /tmp partitions
97 # Or provide a recipe of your own...
98 # The recipe format is documented in the file devel/partman-auto-recipe.txt.
99 # If you have a way to get a recipe file into the d-i environment, you can
101 #d-i partman-auto/expert_recipe_file string /hd-media/recipe
103 # If not, you can put an entire recipe into the preconfiguration file in one
104 # (logical) line. This example creates a small /boot partition, suitable
105 # swap, and uses the rest of the space for the root partition:
106 #d-i partman-auto/expert_recipe string \
109 # $primary{ } $bootable{ } \
110 # method{ format } format{ } \
111 # use_filesystem{ } filesystem{ ext3 } \
112 # mountpoint{ /boot } \
114 # 500 10000 1000000000 ext3 \
115 # method{ format } format{ } \
116 # use_filesystem{ } filesystem{ ext3 } \
119 # 64 512 300% linux-swap \
120 # method{ swap } format{ } \
123 # This makes partman automatically partition without confirmation.
124 #NOAUTOPART#d-i partman/confirm_write_new_label boolean true
125 #NOAUTOPART#d-i partman/choose_partition \
126 #NOAUTOPART# select Finish partitioning and write changes to disk
127 #NOAUTOPART#d-i partman/confirm boolean true
129 ### Clock and time zone setup
130 # Controls whether or not the hardware clock is set to UTC.
131 d-i clock-setup/utc boolean true
133 # You may set this to any valid setting for $TZ; see the contents of
134 # /usr/share/zoneinfo/ for valid values.
135 d-i time/zone string Europe/Paris
138 # You can choose to install non-free and contrib software.
139 #d-i apt-setup/non-free boolean true
140 #d-i apt-setup/contrib boolean true
141 # Uncomment this if you don't want to use a network mirror.
142 d-i apt-setup/use_mirror boolean false
143 # Uncomment this to avoid adding security sources, or
144 # add a hostname to use a different server than security.debian.org.
145 #CDD#d-i apt-setup/security_host string 192.168.0.218/debian-security
147 # Additional repositories, local[0-9] available
148 #d-i apt-setup/local0/repository string \
149 # http://local.server/debian stable main
150 #d-i apt-setup/local0/repository string http://localhost/debian-local etch main
151 #d-i apt-setup/local0/repository string http://gforge.eu/debian etch main
152 d-i apt-setup/local0/repository string http://debian.fusionforge.org/debian %DIST% main
153 #d-i apt-setup/local0/comment string local server
154 # Enable deb-src lines
155 #d-i apt-setup/local0/source boolean true
156 d-i apt-setup/local0/source boolean true
157 # URL to the public key of the local repository; you must provide a key or
158 # apt will complain about the unauthenticated repository and so the
159 # sources.list line will be left commented out
160 #d-i apt-setup/local0/key string http://local.server/key
161 #d-i apt-setup/local0/key string http://localhost/debian-local/key
162 #d-i apt-setup/local0/key string http://gforge.eu/key
163 d-i apt-setup/local0/key string http://debian.fusionforge.org/key
165 d-i apt-setup/local1/repository string http://ftp2.fr.debian.org/debian %DIST% main
166 d-i apt-setup/local1/source boolean true
167 # By default the installer requires that repositories be authenticated
168 # using a known gpg key. This setting can be used to disable that
169 # authentication. Warning: Insecure, not recommended.
170 #d-i debian-installer/allow_unauthenticated string true
171 #d-i debian-installer/allow_unauthenticated string true
174 # Skip creation of a root account (normal user account will be able to
176 #d-i passwd/root-login boolean false
177 # Alternatively, to skip creation of a normal user account.
178 #d-i passwd/make-user boolean false
180 # Root password, either in clear text
181 #CDD#d-i passwd/root-password password gforge
182 #CDD#d-i passwd/root-password-again password gforge
183 # or encrypted using an MD5 hash.
184 #d-i passwd/root-password-crypted password [MD5 hash]
186 # To create a normal user account.
187 d-i passwd/user-fullname string GForge Debian User
188 d-i passwd/username string gfuser
189 # Normal user's password, either in clear text
190 #CDD#d-i passwd/user-password password gfuser
191 #CDD#d-i passwd/user-password-again password gfuser
192 # or encrypted using an MD5 hash.
193 d-i passwd/user-password-crypted password **LCK**
195 ### Base system installation
196 # Select the initramfs generator used to generate the initrd for 2.6 kernels.
197 #d-i base-installer/kernel/linux/initramfs-generators string yaird
199 ### Boot loader installation
200 # Grub is the default boot loader (for x86). If you want lilo installed
201 # instead, uncomment this:
202 #d-i grub-installer/skip boolean true
204 # This is fairly safe to set, it makes grub install automatically to the MBR
205 # if no other operating system is detected on the machine.
206 d-i grub-installer/only_debian boolean true
208 # This one makes grub-installer install to the MBR if it also finds some other
209 # OS, which is less safe as it might not be able to boot that other OS.
210 d-i grub-installer/with_other_os boolean true
212 # Alternatively, if you want to install to a location other than the mbr,
213 # uncomment and edit these lines:
214 #d-i grub-installer/only_debian boolean false
215 #d-i grub-installer/with_other_os boolean false
216 #d-i grub-installer/bootdev string (hd0,0)
217 # To install grub to multiple disks:
218 #d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
220 ### Package selection
221 #tasksel tasksel/first multiselect standard, web-server
223 # If the desktop task is selected, install the kde and xfce desktops
224 # instead of the default gnome desktop.
225 #tasksel tasksel/desktop multiselect kde-desktop, xfce-desktop
228 #tasksel tasksel/first multiselect standard, kde-desktop
229 #tasksel tasksel/first multiselect standard, gnome-desktop
230 tasksel tasksel/first multiselect standard
233 # Individual additional packages to install
234 d-i pkgsel/include string vim ntpdate ntp build-essential debconf-utils exim4-daemon-heavy mailman proftpd apache2-mpm-prefork openssl \
235 localization-config console-tools console-data console-common console-setup \
236 sudo devscripts fakeroot pbuilder svn-buildpackage dpatch debhelper reprepro
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 popularity-contest popularity-contest/participate boolean false
245 ### Finishing up the first stage install
246 # Avoid that last message about the install being complete.
247 d-i finish-install/reboot_in_progress note
249 # This will prevent the installer from ejecting the CD during the reboot,
250 # which is useful in some situations.
251 #d-i cdrom-detect/eject boolean false
254 # X can detect the right driver for some cards, but if you're preseeding,
255 # you override whatever it chooses. Still, vesa will work most places.
256 #xserver-xorg xserver-xorg/config/device/driver select vesa
258 # A caveat with mouse autodetection is that if it fails, X will retry it
259 # over and over. So if it's preseeded to be done, there is a possibility of
260 # an infinite loop if the mouse is not autodetected.
261 #xserver-xorg xserver-xorg/autodetect_mouse boolean true
263 # Monitor autodetection is recommended.
264 xserver-xorg xserver-xorg/autodetect_monitor boolean true
265 # Uncomment if you have an LCD display.
266 #xserver-xorg xserver-xorg/config/monitor/lcd boolean true
267 # X has three configuration paths for the monitor. Here's how to preseed
268 # the "medium" path, which is always available. The "simple" path may not
269 # be available, and the "advanced" path asks too many questions.
270 xserver-xorg xserver-xorg/config/monitor/selection-method \
272 xserver-xorg xserver-xorg/config/monitor/mode-list \
273 select 1024x768 @ 60 Hz
275 ### Preseeding other packages
276 # Depending on what software you choose to install, or if things go wrong
277 # during the installation process, it's possible that other questions may
278 # be asked. You can preseed those too, of course. To get a list of every
279 # possible question that could be asked during an install, do an
280 # installation, and then run these commands:
281 # debconf-get-selections --installer > file
282 # debconf-get-selections >> file
285 mailman mailman/queue_files_present note
286 mailman mailman/default_server_language select fr
287 mailman mailman/gate_news boolean false
288 mailman mailman/site_languages multiselect en,ru,fr
289 mailman mailman/used_languages string
290 mailman mailman/create_site_list note
292 courier-base courier-base/maildir string Maildir
293 courier-base courier-base/webadmin-configmode boolean false
295 proftpd shared/proftpd/inetd_or_standalone select standalone
297 #CDD#gforge-db-postgresql gforge/shared/admin_password password gforge
298 #CDD#gforge-db-postgresql gforge/shared/admin_password_confirm password gforge
299 gforge-db-postgresql gforge/shared/db_host string localhost
300 gforge-db-postgresql gforge/shared/replace_file_remove boolean true
301 gforge-web-apache gforge/shared/replace_file_remove boolean true
302 gforge-db-postgresql gforge/shared/replace_file_install boolean true
303 gforge-web-apache gforge/shared/replace_file_install boolean true
304 #gforge-web-apache gforge/shared/ip_address string 192.168.0.47
306 ucf ucf/changeprompt select install_new
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,
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
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 #in-target chsh -s /bin/zsh ;
326 d-i preseed/late_command string apt-install zsh; \
327 in-target chsh -s /bin/zsh ; \
328 in-target chmod o+rw /dev/null ; \
329 apt-install postgresql-8.3 ; \
330 in-target mount /proc ; \
331 in-target /etc/init.d/postgresql-8.3 start ; \
332 UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew gforge gforge-plugin-scmcvs gforge-plugin-scmsvn gforge-plugin-mediawiki ; \
333 in-target ln -s /var/lib/gforge/chroot/cvsroot /cvsroot ; \
334 in-target ln -s /var/lib/gforge/chroot/svnroot /svnroot ; \
335 echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
336 echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
337 echo 'syntax on' >> /target/etc/vim/vimrc.local ;
341 ##d-i preseed/late_command string apt-install zsh; \
342 ##in-target mkdir -p /etc/apache/ssl.crt /etc/apache/ssl.key /usr/share/gforge/scm ; \
343 ##in-target /usr/sbin/make-ssl-cert generate-default-snakeoil ; \
344 ##in-target ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/apache/ssl.crt/server.crt ; \
345 ##in-target ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/apache/ssl.key/server.key ; \
346 ##in-target chmod o+rw /dev/null ; \
347 ##apt-install postgresql-8.1 ; \
348 ##in-target mount /proc ; \
349 ##in-target /etc/init.d/postgresql-8.1 start ; \
350 ##UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew gforge gforge-plugin-scmcvs gforge-plugin-scmsvn ; \
351 ##UCF_FORCE_CONFFNEW=yes apt-install -o DPkg::Options::=--force-confnew gforge-plugins-extra ; \
352 ##in-target ln -s /etc/gforge/httpd.conf /etc/apache2/conf.d/gforge.httpd.conf ; \
353 ##in-target a2enmod vhost_alias ; \
354 ##in-target a2dissite default ; \
355 ##in-target ln -s /var/lib/gforge/chroot/cvsroot /cvsroot ; \
356 ##in-target ln -s /var/lib/gforge/chroot/svnroot /svnroot ; \
357 ##echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
358 ##echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
359 ##echo 'syntax on' >> /target/etc/vim/vimrc.local ;