Skip to content

Instantly share code, notes, and snippets.

@mtask
Last active January 13, 2024 20:45
Show Gist options
  • Save mtask/e31ab3c2aed32f5804587e1335e922b2 to your computer and use it in GitHub Desktop.
Save mtask/e31ab3c2aed32f5804587e1335e922b2 to your computer and use it in GitHub Desktop.
Debian PXE boot with preseed
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select fi
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/http/hostname string www.nic.funet.fi
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Helsinki
d-i clock-setup/ntp boolean true
d-i partman-auto/method string crypto
d-i partman-auto-lvm/guided_size string max
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto-crypto/erase_disks boolean false
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i apt-setup/cdrom/set-first boolean false
tasksel tasksel/first multiselect standard, gnome-desktop
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/vda
d-i finish-install/reboot_in_progress note
d-i preseed/late_command in-target apt-get update; \
in-target apt-get -y upgrade; \
path debian-installer/amd64/boot-screens/
prompt 0
timeout 0
label debian12
menu label debian 12 automated
kernel debian-installer/amd64/linux
append initrd=debian-installer/amd64/initrd.gz auto=true priority=critical interface=auto netcfg/link_wait_timeout=10 netcfg/dhcp_timeout=30 preseed/url=tftp://10.5.10.1/preseed.cfg
include debian-installer/amd64/boot-screens/menu.cfg
default debian-installer/amd64/boot-screens/vesamenu.c32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment