1 # SEE http://www.debian.org/releases/squeeze/example-preseed.txt
2 d-i netcfg/get_hostname string myforge
3 d-i netcfg/get_domain string mytld
5 # You may set this to any valid setting for $TZ; see the contents of
6 # /usr/share/zoneinfo/ for valid values.
7 d-i time/zone string Europe/Paris
9 # Uncomment this if you don't want to use a network mirror.
10 d-i apt-setup/use_mirror boolean false
12 # Select which update services to use; define the mirrors to be used.
13 # Values shown below are the normal defaults.
14 #d-i apt-setup/services-select multiselect security, volatile
15 d-i apt-setup/services-select multiselect
16 #d-i apt-setup/security_host string security.debian.org
17 #d-i apt-setup/volatile_host string volatile.debian.org
21 # automatically set the CD as the installation media.
22 #base-config apt-setup/uri_type select http
23 base-config apt-setup/uri_type select cdrom
24 # only scan the first CD by default
25 base-config apt-setup/cd/another boolean false
26 # don't ask to use additional mirrors
27 base-config apt-setup/another boolean false
28 # Use a network mirror?
29 apt-mirror-setup apt-setup/use_mirror boolean false
32 # Skip creation of a root account (normal user account will be able to
34 #d-i passwd/root-login boolean false
35 # Alternatively, to skip creation of a normal user account.
36 #d-i passwd/make-user boolean false
38 # Root password, either in clear text
39 #d-i passwd/root-password password ff
40 #d-i passwd/root-password-again password ff
41 # or encrypted using an MD5 hash.
42 d-i passwd/root-password-crypted password **LCK**
44 # To create a normal user account.
45 d-i passwd/user-fullname string FusionForge Debian User
46 d-i passwd/username string ffuser
47 # Normal user's password, either in clear text
48 d-i passwd/user-password password ffuser
49 d-i passwd/user-password-again password ffuser
50 # or encrypted using an MD5 hash.
51 #d-i passwd/user-password-crypted password [MD5 hash]
53 #tasksel tasksel/first multiselect standard, kde-desktop
54 #tasksel tasksel/first multiselect standard, gnome-desktop
55 tasksel tasksel/first multiselect standard
57 # popular and include it on CDs.
58 popularity-contest popularity-contest/participate boolean false
61 mailman mailman/queue_files_present note
62 mailman mailman/default_server_language select fr
63 mailman mailman/gate_news boolean false
64 mailman mailman/site_languages multiselect en,ru,fr
65 mailman mailman/used_languages string
66 mailman mailman/create_site_list note
69 courier-base courier-base/maildir string Maildir
70 courier-base courier-base/webadmin-configmode boolean false
73 proftpd shared/proftpd/inetd_or_standalone select standalone
76 #CDD#gforge-db-postgresql gforge/shared/admin_password password fforge
77 #CDD#gforge-db-postgresql gforge/shared/admin_password_confirm password fforge
78 gforge-db-postgresql gforge/shared/db_host string localhost
79 gforge-db-postgresql gforge/shared/replace_file_remove boolean true
80 gforge-web-apache gforge/shared/replace_file_remove boolean true
81 gforge-db-postgresql gforge/shared/replace_file_install boolean true
82 gforge-web-apache gforge/shared/replace_file_install boolean true
85 ucf ucf/changeprompt select install_new
88 ### Running custom commands during the installation
89 # d-i preseeding is inherently not secure. Nothing in the installer checks
90 # for attempts at buffer overflows or other exploits of the values of a
91 # preconfiguration file like this one. Only use preconfiguration files from
92 # trusted locations! To drive that home, and because it's generally useful,
93 # here's a way to run any shell command you'd like inside the installer,
96 # This first command is run as early as possible, just after
98 #d-i preseed/early_command string anna-install some-udeb
100 # This command is run just before the install finishes, but when there is
101 # still a usable /target directory. You can chroot to /target and use it
102 # directly, or use the apt-install and in-target commands to easily install
103 # packages and run commands in the target system.
104 #in-target chsh -s /bin/zsh ;
105 d-i preseed/late_command string apt-install zsh; \
106 in-target chsh -s /bin/zsh ; \
107 in-target chmod o+rw /dev/null ; \
108 apt-install postgresql-8.4; \
109 chroot /target invoke-rc.d postgresql-8.4 start ; \
110 UCF_FORCE_CONFFNEW=yes apt-install fusionforge-full fusionforge-plugin-forumml ; \
111 in-target ln -s /var/lib/gforge/chroot/scmrepo/cvs /cvsroot ; \
112 in-target ln -s /var/lib/gforge/chroot/scmrepo/svn /svnroot ; \
113 in-target ln -s /var/lib/gforge/chroot/scmrepo /scmrepo ; \
114 echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
115 echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
116 echo 'ffuser ALL = NOPASSWD: ALL' >> /target/etc/sudoers ; \
117 echo 'syntax on' >> /target/etc/vim/vimrc.local ;