getswitchtemp fix
[debian6500.git] / simple-cdd / profiles / trc6500.preseed
CommitLineData
9c7f26be
OL
1# only ask important questions
2#d-i debconf/priority string critical
3
4
5# Locale & Timezone
6
7d-i clock-setup/ntp boolean false
8d-i time/zone string Europe/Paris
9# d-i debian-installer/language string en
10# d-i debian-installer/country string FR
11# d-i debian-installer/locale string en_US.UTF-8
12# note : although these could be preseeded in the default preseeds file (which is loaded before the others), I chose not to, so the install can be in any locale. The clock is preseeded, since else we have to wait for the NTP server connection to time out.
13
14# Network
15
16d-i netcfg/disable_autoconfig boolean true
17d-i netcfg/get_hostname string trc00
18d-i netcfg/get_domain string thalesgroup.com
19# it seems domain preseeding does not work (there are bug reports on the internet..). In theory we're not using it though.
20d-i netcfg/get_nameservers string
21d-i netcfg/get_ipaddress string 10.133.28.160
22d-i netcfg/get_netmask string 255.255.255.0
23d-i netcfg/get_gateway string 10.133.28.231
24# no DNS server
25
26# Important note : most if not all of the net config will get replaced anyway as we unpack /master into the drive.
27
28
29# User configuration
30# For these three I sometimes see d-i and sometimes passwd (as first argument). It seems to work like this.
31passwd passwd/root-password password thales
32passwd passwd/root-password-again password thales
33
34passwd passwd/user-fullname string trc6500
35passwd passwd/username string trc6500
36passwd passwd/user-password password thales
37passwd passwd/user-password-again password thales
38
39
40# Partitioning
41# three partitions :
42# - sda1 / 20GB ext4
43# - sda2 (none) 1G swap
44# - sda3 /var/media/backup (remaining) ext4
45# Note that it will fail if you have less than 31 gigabytes it can use, obviously.
46
47d-i partman-auto/disk string /dev/sda
48d-i partman-auto/method string regular
49
50
51d-i partman-auto/expert_recipe string \
52 boot-root :: \
53 20000 20000 20000 ext4 \
54 $primary{ } $bootable{ } \
55 method{ format } format{ } \
56 use_filesystem{ } filesystem{ ext4 } \
57 mountpoint{ / } \
58 . \
59 1024 2048 1024 linux-swap \
60 $primary{ } method{ swap } format{ } \
61 . \
62 512 10000 -1 ext4 \
63 $primary{ } method{ format } format{ } \
64 use_filesystem{ } filesystem{ ext4 } \
65 mountpoint{ /var/media/backup } \
66 .
67
68d-i partman-partitioning/confirm_write_new_label boolean true
69d-i partman/choose_partition select finish
70d-i partman/confirm boolean true
71d-i partman/confirm_nooverwrite boolean true
72
73
74# GRUB configuration
75grub grub-pc/install_devices multiselect /dev/sda
76# unlike what the internet would tell you, sending this command to d-i doesn't work
77
78# iptables configuration
79
80iptables-persistent iptables-persistent/autosave_v6 boolean false
81iptables-persistent iptables-persistent/autosave_v4 boolean false
82
83# APT configuration
84d-i apt-setup/use_mirror boolean false
85popularity-contest popularity-contest/participate boolean false