Skip to content

Instantly share code, notes, and snippets.

@scotthain
Last active June 14, 2024 19:32
Show Gist options
  • Save scotthain/a26cb8bb6f692e8a5c00f90a5051e15b to your computer and use it in GitHub Desktop.
Save scotthain/a26cb8bb6f692e8a5c00f90a5051e15b to your computer and use it in GitHub Desktop.
an example preseed
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
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 mirror/country string us
#d-i mirror/http/proxy string
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server 0.pool.ntp.org
#Auto partitioning
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string lvm
#d-i partman-lvm/confirm boolean true
#d-i partman-auto-lvm/guided_size string max
#d-i partman-auto-lvm/new_vg_name string VG_root
d-i partman-auto/method string regular
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman/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 passwd/root-login boolean true
d-i passwd/root-password password p1x13b00t
d-i passwd/root-password-again password p1x13b00t
d-i passwd/make-user boolean false
#d-i passwd/root-password-crypted password $6$OIeLd6Pt$ODSAXqBCk1hXt3S2YafDNfbl2S7T2LObX/3XTMvxXAUrOPV2R6wkT9JYxU3B2g1eKpj4asAfjS0rMuoU1yntY.
d-i base-installer/kernel/image linux-server
d-i base-installer/kernel/which-kernel select linux-image-server
d-i base-installer/kernel/override-image string linux-images-server
tasksel tasksel/first multiselect standard
d-i pkgsel/include string curl openssh-server build-essential vim screen rsync debconf-utils wget
d-i pkgsel/upgrade select safe-upgrade
d-i pkgsel/update-policy select none
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment