aboutsummaryrefslogtreecommitdiffstats
path: root/preseed.cfg
blob: be99a2e1e26534ac20b30155bbcd0d29dbdfd3c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Preseed file
#
# Copyright © 2013 Guilhem Moulin <guilhem@fripost.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Locales
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales multiselect sv_SE.UTF-8
d-i keymap skip-config

# Debian archive mirror hostname (installer only):
d-i mirror/http/hostname string ftp.se.debian.org

# Assume the clock is UTC. Always use NTP.
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 0.se.pool.ntp.org
d-i time/zone string Europe/Stockholm

# Network
d-i netcfg/choose_interface select auto
d-i netcfg/hostname string eilift
d-i netcfg/get_domain string guilhem.org
#d-i netcfg/disable_autoconfig boolean true
#d-i netcfg/get_ipaddress string 192.168.10.100
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.10.2
#d-i netcfg/get_nameservers string 192.168.10.1
#d-i netcfg/confirm_static boolean true

# Users
adduser adduser/homedir-permission boolean false
d-i passwd/root-login boolean false
d-i passwd/shadow boolean true
d-i passwd/user-fullname string Guilhem Moulin
d-i passwd/username string guilhem
# TODO: should be generated by preseed.sh: echo ... | mkpasswd -s -m SHA-512
d-i passwd/user-password-crypted password $6$QjLeZdW1O$9VymVDc5q6NctEylAqObvmP4S7FXk1ckCPaHua0JaiFSaTeTKoWxaP7bQoUWvzCPDY23Xqthg87QDBbaCY9BP0
d-i passwd/user-default-groups string ssh

locales/default_environment_locale string en_US.UTF-8
locales/locales_to_be_generated    string en_US.UTF-8 UTF-8, sv_SE.UTF-8 UTF-8

# System
popularity-contest popularity-contest/participate boolean true
d-i base-installer/kernel/image string linux-image-amd64
d-i base-installer/kernel/linux/initramfs-generators string initramfs-tools
# A subset of 'standard' is interesting: tasksel --task-packages standard
tasksel tasksel/first string
d-i pkgsel/include string git heirloom-mailx python-apt etckeeper \
                          bash bash-completion \
                          bind9-host curl screen \
                          postfix vim-nox emacs23-nox
d-i pkgsel/upgrade select safe-upgrade

d-i preseed/early_command string anna-install fripost-partman fripost-postinst
d-i preseed/late_command string /bin/in-target /usr/bin/update-alternatives --set editor /usr/bin/vim.nox
d-i fripost/partition-script string /cdrom/include/partition.sh

d-i fripost/wipe-device string none
d-i fripost/initrd-ssh-port string 2222