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 sudo devscripts fakeroot svn-buildpackage dpatch debhelper reprepro openssh-server
267 # Some versions of the installer can report back on what software you have
268 # installed, and what software you use. The default is not to report back,
269 # but sending reports helps the project determine what software is most
270 # popular and include it on CDs.
271 popularity-contest popularity-contest/participate boolean false
273 ### Finishing up the first stage install
274 # Avoid that last message about the install being complete.
275 d-i finish-install/reboot_in_progress note
277 # This will prevent the installer from ejecting the CD during the reboot,
278 # which is useful in some situations.
279 #d-i cdrom-detect/eject boolean false
282 # X can detect the right driver for some cards, but if you're preseeding,
283 # you override whatever it chooses. Still, vesa will work most places.
284 #xserver-xorg xserver-xorg/config/device/driver select vesa
286 # A caveat with mouse autodetection is that if it fails, X will retry it
287 # over and over. So if it's preseeded to be done, there is a possibility of
288 # an infinite loop if the mouse is not autodetected.
289 #xserver-xorg xserver-xorg/autodetect_mouse boolean true
291 # Monitor autodetection is recommended.
292 xserver-xorg xserver-xorg/autodetect_monitor boolean true
293 # Uncomment if you have an LCD display.
294 #xserver-xorg xserver-xorg/config/monitor/lcd boolean true
295 # X has three configuration paths for the monitor. Here's how to preseed
296 # the "medium" path, which is always available. The "simple" path may not
297 # be available, and the "advanced" path asks too many questions.
298 xserver-xorg xserver-xorg/config/monitor/selection-method \
300 xserver-xorg xserver-xorg/config/monitor/mode-list \
301 select 1024x768 @ 60 Hz
303 ### Preseeding other packages
304 # Depending on what software you choose to install, or if things go wrong
305 # during the installation process, it's possible that other questions may
306 # be asked. You can preseed those too, of course. To get a list of every
307 # possible question that could be asked during an install, do an
308 # installation, and then run these commands:
309 # debconf-get-selections --installer > file
310 # debconf-get-selections >> file
313 mailman mailman/queue_files_present note
314 mailman mailman/default_server_language select fr
315 mailman mailman/gate_news boolean false
316 mailman mailman/site_languages multiselect en,ru,fr
317 mailman mailman/used_languages string
318 mailman mailman/create_site_list note
320 courier-base courier-base/maildir string Maildir
321 courier-base courier-base/webadmin-configmode boolean false
323 proftpd shared/proftpd/inetd_or_standalone select standalone
325 #CDD#gforge-db-postgresql gforge/shared/admin_password password gforge
326 #CDD#gforge-db-postgresql gforge/shared/admin_password_confirm password gforge
327 gforge-db-postgresql gforge/shared/db_host string localhost
328 gforge-db-postgresql gforge/shared/replace_file_remove boolean true
329 gforge-web-apache gforge/shared/replace_file_remove boolean true
330 gforge-db-postgresql gforge/shared/replace_file_install boolean true
331 gforge-web-apache gforge/shared/replace_file_install boolean true
332 #gforge-web-apache gforge/shared/ip_address string 192.168.0.47
334 ucf ucf/changeprompt select install_new
336 #### Advanced options
337 ### Running custom commands during the installation
338 # d-i preseeding is inherently not secure. Nothing in the installer checks
339 # for attempts at buffer overflows or other exploits of the values of a
340 # preconfiguration file like this one. Only use preconfiguration files from
341 # trusted locations! To drive that home, and because it's generally useful,
342 # here's a way to run any shell command you'd like inside the installer,
345 # This first command is run as early as possible, just after
346 # preseeding is read.
347 #d-i preseed/early_command string anna-install some-udeb
349 # This command is run just before the install finishes, but when there is
350 # still a usable /target directory. You can chroot to /target and use it
351 # directly, or use the apt-install and in-target commands to easily install
352 # packages and run commands in the target system.
353 #in-target chsh -s /bin/zsh ;
354 d-i preseed/late_command string apt-install zsh; \
355 in-target chsh -s /bin/zsh ; \
356 in-target chmod o+rw /dev/null ; \
357 apt-install postgresql-8.4; \
358 chroot /target invoke-rc.d postgresql-8.4 start ; \
359 UCF_FORCE_CONFFNEW=yes apt-install fusionforge-full ; \
360 in-target ln -s /var/lib/gforge/chroot/scmrepo/cvs /cvsroot ; \
361 in-target ln -s /var/lib/gforge/chroot/scmrepo/svn /svnroot ; \
362 in-target ln -s /var/lib/gforge/chroot/scmrepo /scmrepo ; \
363 echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
364 echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
365 echo 'syntax on' >> /target/etc/vim/vimrc.local ;