ergosteur

ergosteur / Debian Preseed for MCP Control

Last active 1 month ago

Like 0

Debian 13 (trixie) unattended netinst preseed Generic base-OS bootstrap — gets a blank VM to "Debian installed, SSH + sudo reachable" so provision-satellite.sh can take over from there. Not satellite-specific beyond that; hostname/domain are passed as separate boot params (hostname=... domain=...), not hardcoded here, so this file is reusable for any future from-scratch rebuild. Usage: serve this file over HTTP reachable from the VM's network, then at the installer's boot menu (Tab to edit on isolinux/BIOS boot): auto=true priority=critical url=http://<host>:<port>/debian-preseed.cfg hostname=<name> domain=<domain> See ../provision-satellite.sh and ../docs/ for the rest of the setup this hands off to.

Revision 3af4602afc732977bacc738df47e1b34d0ec7d80

debian-preseed.cfg Raw
1#### Debian 13 (trixie) unattended netinst preseed
2#### Generic base-OS bootstrap — gets a blank VM to "Debian installed, SSH +
3#### sudo reachable" so provision-satellite.sh can take over from there.
4#### Not satellite-specific beyond that; hostname/domain are passed as
5#### separate boot params (hostname=... domain=...), not hardcoded here, so
6#### this file is reusable for any future from-scratch rebuild.
7####
8#### Usage: serve this file over HTTP reachable from the VM's network, then
9#### at the installer's boot menu (Tab to edit on isolinux/BIOS boot):
10#### auto=true priority=critical url=http://<host>:<port>/debian-preseed.cfg hostname=<name> domain=<domain>
11####
12#### See ../provision-satellite.sh and ../docs/ for the rest of the setup
13#### this hands off to.
14
15### Localization
16d-i debian-installer/locale string en_CA.UTF-8
17d-i keyboard-configuration/xkb-keymap select us
18
19### Network
20d-i netcfg/choose_interface select auto
21d-i netcfg/get_hostname string unassigned-hostname
22d-i netcfg/get_domain string unassigned-domain
23d-i netcfg/wireless_wep string
24
25### Mirror
26d-i mirror/country string manual
27d-i mirror/http/hostname string deb.debian.org
28d-i mirror/http/directory string /debian
29d-i mirror/http/proxy string
30
31### Clock and time zone
32d-i clock-setup/utc boolean true
33d-i time/zone string America/Toronto
34d-i clock-setup/ntp boolean true
35
36### Account setup — normal user only, root login disabled (sudo instead).
37### Password is a KNOWN TEMPORARY VALUE, not a secret — rotate/remove once
38### provision-satellite.sh's SSH key step confirms key-only access works.
39d-i passwd/root-login boolean false
40d-i passwd/user-fullname string evie
41d-i passwd/username string evie
42d-i passwd/user-password password bootstrap-temp-pw
43d-i passwd/user-password-again password bootstrap-temp-pw
44d-i user-setup/allow-password-weak boolean true
45d-i passwd/user-default-groups string sudo
46
47### Partitioning — single disk, guided, no LVM (simple automation-box disk,
48### provision-satellite.sh doesn't expect or need LVM).
49d-i partman-auto/disk string /dev/sda
50d-i partman-auto/method string regular
51d-i partman-auto/choose_recipe select atomic
52d-i partman-partitioning/confirm_write_new_label boolean true
53d-i partman/choose_partition select finish
54d-i partman/confirm boolean true
55d-i partman/confirm_nooverwrite boolean true
56
57### Package selection — minimal + SSH only. Desktop/XFCE/automation tooling
58### all comes from provision-satellite.sh step 2 onward — don't duplicate.
59tasksel tasksel/first multiselect standard, ssh-server
60d-i pkgsel/include string sudo
61d-i pkgsel/upgrade select safe-upgrade
62popularity-contest popularity-contest/participate boolean false
63
64### Boot loader
65d-i grub-installer/only_debian boolean true
66d-i grub-installer/bootdev string /dev/sda
67
68### Finish installation
69d-i finish-install/reboot_in_progress note
70d-i cdrom-detect/eject boolean true
71