# happyseed - automatic installation for happy - (c) 2006 Tero Karvinen www.iki.fi/karvinen
# Still asks: Remove cd and reboot
# Many values (hostname, language) are almost never read from preseed, values are defined to 
# avoid unnecessary questions. 

### Normally pxelinux.cfg/default overrides language and network settings
d-i     debconf/language     string en
d-i     debian-installer/language     string en_FI:en
d-i     languagechooser/language-name-fb	select English
d-i     debian-installer/locale select en_DK.UTF-8

### Network Configuration
# DHCP overrides hostname and domain name
d-i     netcfg/get_hostname     string xynor
d-i     netcfg/get_domain       string xynoria
d-i	netcfg/dhcp_hostname	string xynores
d-i     netcfg/disable_dhcp     boolean false
d-i     netcfg/wireless_wep     string
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i     netcfg/choose_interface select auto

### Mirror Settings
d-i     mirror/country          string enter information manually
d-i     mirror/http/hostname    string fi.archive.ubuntu.com
d-i     mirror/http/directory   string /ubuntu/
d-i     mirror/suite            string dapper
d-i	mirror/http/proxy	string http://10.0.0.123:8080/
### Apt settings
d-i     apt-setup/uri_type      select http
d-i     apt-setup/country       select enter information manually
d-i     apt-setup/hostname      string fi.archive.ubuntu.com
d-i     apt-setup/directory     string /ubuntu/
d-i     apt-setup/another       boolean false
d-i     apt-setup/security-updates      boolean true
base-config apt-setup/universe  boolean true

### Partitioning
d-i partman-auto/disk string /dev/discs/disc0/disc
#d-i     partman-auto/disk       string /dev/hdc
d-i     partman/choose_partition        select Finish partitioning and write changes to disk
d-i     partman/confirm                 boolean true

### Boot loader - allways on MBR
d-i     grub-installer/only_debian      boolean true
d-i     grub-installer/with_other_os    boolean true

### Timezone
d-i     tzconfig/gmt            boolean true
d-i     tzconfig/choose_country_zone/Europe select Helsinki
d-i     tzconfig/choose_country_zone_single boolean true
# Hardware clock is set to UTC.
d-i clock-setup/utc boolean true
# Which one is Dapper?
# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string Europe/Helsinki

### Users
d-i          passwd/user-fullname		string Conftero
d-i          passwd/username			string ct
d-i          passwd/user-password-crypted	password $1$FfZuDrua$vgxtQlc6pA.agK75OPxhQ0
#d-i	     passwd/user-password password asdf
#d-i          passwd/user-password-again password asdf

### Package selection
# You can choose to install any combination of tasks that are available.
# Available tasks as of this writing include: Desktop environment,
# Web server, Print server, DNS server, File server, Mail server,
# SQL database, manual package selection. The last of those will run
# aptitude. You can also choose to install no tasks, and force the
# installation of a set of packages in some other way.
# XXX: this will not work until tasksel 2.12 is available
#tasksel                tasksel/first   multiselect Desktop environment
#tasksel        tasksel/first   multiselect Web server, Mail server, DNS server
#tasksel        tasksel/first   multiselect spanish
tasksel		tasksel/first	multiselect Standard

### Finnish installation
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean false

# During a normal install, exim asks only two questions. Here's how to
# avoid even those. More complicated preseeding is possible.
exim4-config    exim4/dc_eximconfig_configtype  select no configuration at this time
exim4-config    exim4/dc_postmaster             string

## X Configuration
# Preseeding Debian's X config is possible, but you probably need to know
# some details about the video hardware of the machine, since Debian's X
# configurator does not do fully automatic configuration of everything.

# X can detect the right driver for some cards, but if you're preseeding,
# you override whatever it chooses. Still, vesa will work most places.
#xserver-xorg        xserver-xorg/config/device/driver    select vesa

## A caveat with mouse autodetection is that if it fails, X will retry it
## over and over. So if it's preseeded to be done, there is a possibility of
## an infinite loop if the mouse is not autodetected.
##xserver-xorg        xserver-xorg/autodetect_mouse        boolean true

#xserver-xorg         xserver-xorg/autodetect_monitor      boolean true
#xserver-xorg xserver-xorg/config/monitor/selection-method select medium
#xserver-xorg xserver-xorg/config/monitor/mode-list        select 1024x768 @ 60 Hz
#xserver-xorg xserver-xorg/config/display/modes            multiselect 1024x768, 800x600

# Things below here slurped in from data/debconf snippet if it exists
aide    aide/aideinit   boolean false
aide    aide/newlibdir  boolean false
aide    aideinit/copynew        boolean false
aide    aideinit/overwritenew   boolean true
logcheck-database       logcheck-database/conffile-cleanup      boolean false
tripwire        tripwire/local-passphrase       password
tripwire        tripwire/local-passphrase-again password
tripwire        tripwire/local-passphrase-incorrect     boolean false
tripwire        tripwire/rebuild-config boolean true
tripwire        tripwire/rebuild-policy boolean true
tripwire        tripwire/site-passphrase        password
tripwire        tripwire/site-passphrase-again  password
tripwire        tripwire/site-passphrase-incorrect      boolean false
tripwire        tripwire/upgrade        boolean true
tripwire        tripwire/use-localkey   boolean false
tripwire        tripwire/use-sitekey    boolean false


