Repository navigation
Expand file tree
/
Copy pathpreseed.cfg
More file actions
142 lines (120 loc) · 4.51 KB
/
Copy pathpreseed.cfg
File metadata and controls
142 lines (120 loc) · 4.51 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
### Locale
d-i debian-installer/locale string en_US
# Keyboard selection.
d-i keyboard-configuration/xkb-keymap select pl
d-i keyboard-configuration/variant Polish
d-i keyboard-configuration/layout Polish
# Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Warsaw
d-i clock-setup/ntp boolean true
### Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string PCC
d-i netcfg/get_domain string group
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# For nonfree firmware
d-i hw-detect/load_firmware boolean true
### Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
# Suite to install.
d-i mirror/suite string stable
### Account setup
# Root password, either in clear text
d-i passwd/root-password password raspberry
d-i passwd/root-password-again password raspberry
d-i passwd/user-fullname string pcc
d-i passwd/username string pcc
d-i passwd/user-password password raspberry
d-i passwd/user-password-again password raspberry
d-i passwd/user-default-groups string audio cdrom video sudo
### Base system installation
# Configure APT to not install recommended packages by default. Use of this
# option can result in an incomplete system and should only be used by very
# experienced users.
# d-i base-installer/install-recommends boolean false
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
#d-i base-installer/kernel/image string linux-image-686
### Apt setup
# dont display software selection dialog
d-i pkgsel/run_tasksel boolean false
# Individual additional packages to install
d-i pkgsel/include string openssh-server \
build-essential \
vim \
xorg \
openbox \
menu \
sudo \
psmisc \
mosquitto \
tint2 \
arandr \
network-manager-gnome \
wget \
curl \
git \
feh \
libdbus-1-dev \
pkg-config \
libssl-dev \
htop \
xfce4-terminal \
libglib2.0-dev \
libatk1.0-dev \
libpango1.0-dev \
libgdk-pixbuf2.0-dev \
libsoup2.4-dev \
libjavascriptcoregtk-4.0-dev \
libgtk-3-dev \
libwebkit2gtk-4.0-dev \
apache2 \
npm
# Whether to upgrade packages after debootstrap.
d-i pkgsel/upgrade select safe-upgrade
### Boot loader installation
# Grub is the boot loader (for x86).
d-i grub-installer/only_debian boolean true
# This one makes grub-installer install to the UEFI partition/boot record, if
# it also finds some other OS, which is less safe as it might not be able to
# boot that other OS.
d-i grub-installer/with_other_os boolean true
# Due notably to potential USB sticks, the location of the primary drive can
# not be determined safely in general, so this needs to be specified:
d-i grub-installer/bootdev string /dev/sda
### Finishing up the installation
# During installations from serial console, the regular virtual consoles
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
# line to prevent this.
#d-i finish-install/keep-consoles boolean true
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/reboot boolean true
d-i preseed/late_command string \
chmod +x conf/late_command.sh; \
./conf/late_command.sh; \
cp /var/log/syslog /target/home/pcc
#### Advanced options
### Running custom commands during the installation
# d-i preseeding is inherently not secure. Nothing in the installer checks
# for attempts at buffer overflows or other exploits of the values of a
# preconfiguration file like this one. Only use preconfiguration files from
# trusted locations! To drive that home, and because it's generally useful,
# here's a way to run any shell command you'd like inside the installer,
# automatically.
# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb
# This command is run immediately before the partitioner starts. It may be
# useful to apply dynamic partitioner preseeding that depends on the state
# of the disks (which may not be visible when preseed/early_command runs).
#d-i partman/early_command \
# string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install