Skip to content

Instantly share code, notes, and snippets.

@foskamon
Last active May 30, 2023 18:47
Show Gist options
  • Save foskamon/f040c908302baf0f1f8ba4ff9b1c08c1 to your computer and use it in GitHub Desktop.
Save foskamon/f040c908302baf0f1f8ba4ff9b1c08c1 to your computer and use it in GitHub Desktop.
#### Contents of the preconfiguration file (for Bullseye)
### Localization
d-i debian-installer/locale string en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
### Network configuration
d-i netcfg/choose_interface select auto
### Mirror settings
d-i mirror/country string enter information
d-i mirror/http/directory string /debian
d-i mirror/http/hostname string http.debian.net
d-i mirror/http/proxy string
### Account setup
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password password rootpassword
d-i passwd/root-password-again password rootpassword
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Lisbon
d-i clock-setup/ntp boolean true
### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
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-auto/choose_recipe select atomic
### Package selection
tasksel tasksel/first multiselect standard, ssh-server
d-i pkgsel/include string openssh-server build-essential
### Boot loader installation
d-i grub-installer/only_debian boolean true
### Finishing up the installation
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