|
|
|
#From: https://www.debian.org/releases/buster/example-preseed.txt
|
|
|
|
#### Contents of the preconfiguration file (for buster)
|
|
|
|
### Localization
|
|
|
|
# Preseeding only locale sets language, country and locale.
|
|
|
|
d-i debian-installer/locale string en_US
|
|
|
|
|
|
|
|
# The Wheezy, USB disabled (no keyboard access) till after you select keymap bug...
|
|
|
|
#(this is not needed in serial mode)
|
|
|
|
#d-i console-tools/archs string skip-config
|
|
|
|
#d-i console-keymaps-at/keymap select us
|
|
|
|
|
|
|
|
#Removes the prompt about missing modules:
|
|
|
|
# Continue without installing a kernel?
|
|
|
|
d-i base-installer/kernel/skip-install boolean true
|
|
|
|
# Continue the install without loading kernel modules?
|
|
|
|
d-i anna/no_kernel_modules boolean true
|
|
|
|
|
|
|
|
# Stop Debian from installing random kernel choice
|
|
|
|
d-i base-installer/kernel/image select none
|
|
|
|
|
|
|
|
# Additional repositories, local[0-9] available
|
|
|
|
#d-i apt-setup/local0/repository string \
|
|
|
|
# http://local.server/debian stable main
|
|
|
|
#d-i apt-setup/local0/comment string local server
|
|
|
|
# Enable deb-src lines
|
|
|
|
#d-i apt-setup/local0/source boolean true
|
|
|
|
# URL to the public key of the local repository; you must provide a key or
|
|
|
|
# apt will complain about the unauthenticated repository and so the
|
|
|
|
# sources.list line will be left commented out
|
|
|
|
#d-i apt-setup/local0/key string http://local.server/key
|
|
|
|
|
|
|
|
d-i apt-setup/local0/repository string http://repos.rcn-ee.com/debian/ stretch main
|
|
|
|
|
|
|
|
#apt-cacher-ng allows "custom.gpg"
|
|
|
|
d-i apt-setup/local0/key string http://repos.rcn-ee.com/debian/conf/custom.gpg
|
|
|
|
|
|
|
|
# Controls whether to use NTP to set the clock during the install
|
|
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
# NTP server to use. The default is almost always fine here.
|
|
|
|
d-i clock-setup/ntp-server string pool.ntp.org
|
|
|
|
|
|
|
|
### Partitioning
|
|
|
|
## Partitioning example
|
|
|
|
# If the system has free space you can choose to only partition that space.
|
|
|
|
# This is only honoured if partman-auto/method (below) is not set.
|
|
|
|
d-i partman-auto/init_automatically_partition select biggest_free
|
|
|
|
|
|
|
|
# Alternatively, you may specify a disk to partition. If the system has only
|
|
|
|
# one disk the installer will default to using that, but otherwise the device
|
|
|
|
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
|
|
|
|
# and not e.g. /dev/discs/disc0/disc).
|
|
|
|
# For example, to use the first SCSI/SATA hard disk:
|
|
|
|
d-i partman-auto/disk string /dev/mmcblk0
|
|
|
|
|
|
|
|
# Or provide a recipe of your own...
|
|
|
|
# If you have a way to get a recipe file into the d-i environment, you can
|
|
|
|
# just point at it.
|
|
|
|
d-i partman-auto/expert_recipe_file string /partition_recipe
|
|
|
|
|
|
|
|
### Apt setup
|
|
|
|
# You can choose to install non-free and contrib software.
|
|
|
|
#d-i apt-setup/non-free boolean true
|
|
|
|
#d-i apt-setup/contrib boolean true
|
|
|
|
|
|
|
|
# Individual additional packages to install
|
|
|
|
d-i pkgsel/include string bash dosfstools initramfs-tools rcn-ee-archive-keyring util-linux wget board-firmware net-tools sudo
|
|
|
|
# Whether to upgrade packages after debootstrap.
|
|
|
|
# Allowed values: none, safe-upgrade, full-upgrade
|
|
|
|
d-i pkgsel/upgrade select safe-upgrade
|
|
|
|
|
|
|
|
# Controls whether to use NTP to set the clock during the install
|
|
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
|
|
|
|
### Boot loader installation
|
|
|
|
# Grub is the default boot loader (for x86). If you want lilo installed
|
|
|
|
# instead, uncomment this:
|
|
|
|
d-i grub-installer/skip boolean true
|
|
|
|
# To also skip installing lilo, and install no bootloader, uncomment this
|
|
|
|
# too:
|
|
|
|
d-i lilo-installer/skip boolean true
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|