add gateway for ipmi
[debian6500.git] / simple-cdd / profiles / trc6500.preseed
1 # only ask important questions
2 #d-i debconf/priority string critical
3
4
5 # Locale & Timezone
6
7 d-i clock-setup/ntp boolean false
8 d-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
16 d-i netcfg/disable_autoconfig boolean true
17 d-i netcfg/get_hostname string trc00
18 d-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.
20 d-i netcfg/get_nameservers string
21 d-i netcfg/get_ipaddress string 10.133.26.160
22 d-i netcfg/get_netmask string 255.255.255.0
23 d-i netcfg/get_gateway string 10.133.26.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.
31 passwd passwd/root-password password thales
32 passwd passwd/root-password-again password thales
33
34 passwd passwd/user-fullname string trc6500
35 passwd passwd/username string trc6500
36 passwd passwd/user-password password thales
37 passwd 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
47 # Oh yeah and also it DOES NOT FORMAT if it finds something suitable
48 # ie, if you're reinstalling over something similar, better format it BEFORE using this
49 # really sorry about it, but I couldn't find a way around that
50
51 d-i partman-auto/disk string /dev/sda
52 d-i partman-auto/method string regular
53
54 d-i partman-lvm/device_remove_lvm boolean true
55 d-i partman-md/device_remove_md boolean true
56 d-i partman-lvm/confirm boolean true
57 d-i partman-lvm/confirm_nooverwrite boolean true
58
59 ##gpt
60 d-i partman-basicfilesystems/choose_label string msdos
61 d-i partman-basicfilesystems/default_label string msdos
62 d-i partman-partitioning/choose_label string msdos
63 d-i partman-partitioning/default_label string msdos
64 d-i partman/choose_label string msdos
65 d-i partman/default_label string msdos
66 partman-partitioning partman-partitioning/choose_label select msdos
67
68 d-i partman-auto/expert_recipe string \
69 boot-root :: \
70 20000 20000 20000 ext4 \
71 $primary{ } $bootable{ } \
72 method{ format } format{ } \
73 use_filesystem{ } filesystem{ ext4 } \
74 mountpoint{ / } \
75 . \
76 1024 2048 1024 linux-swap \
77 $primary{ } method{ swap } format{ } \
78 . \
79 512 10000 -1 ext4 \
80 $primary{ } method{ format } format{ } \
81 use_filesystem{ } filesystem{ ext4 } \
82 mountpoint{ /var/media/backup } \
83 .
84
85 d-i partman-partitioning/confirm_write_new_label boolean true
86 d-i partman/choose_partition select finish
87 d-i partman/confirm boolean true
88 d-i partman/confirm_nooverwrite boolean true
89 d-i partman/mount_style select traditional
90
91
92 # GRUB configuration
93 grub grub-pc/install_devices multiselect /dev/sda
94 # unlike what the internet would tell you, sending this command to d-i doesn't work
95
96 # iptables configuration
97
98 iptables-persistent iptables-persistent/autosave_v6 boolean false
99 iptables-persistent iptables-persistent/autosave_v4 boolean false
100
101 # APT configuration
102 d-i apt-setup/use_mirror boolean false
103 popularity-contest popularity-contest/participate boolean false
104