Created
January 3, 2021 11:42
-
-
Save dw72/cbffd2996c563d9f667f6f4961b8b432 to your computer and use it in GitHub Desktop.
preseed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i localechooser/languagelist select pl | |
d-i mirror/suite string buster | |
# Automatic installation | |
d-i auto-install/enable boolean true | |
# "linux-server" is substituted by "linux-image-amd64" | |
# Possible options : "linux-image-amd64"(default) or "linux-image-rt-amd64" | |
d-i base-installer/kernel/override-image string linux-server | |
# Set OS locale | |
d-i debian-installer/language string pl | |
d-i debian-installer/country string PL | |
d-i debian-installer/locale string pl_PL.UTF-8 | |
# Reboot once the install is done | |
d-i finish-install/reboot_in_progress note | |
# Bootloader options | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/with_other_os boolean true | |
d-i grub-installer/bootdev string /dev/sda | |
# Set the keyboard layout | |
d-i keyboard-configuration/xkb-keymap select pl | |
# Set the hostname and DNS suffix | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domainet | |
d-i netcfg/wireless_wep string | |
# Mirror from which packages will be downloaded | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string ftp.pl.debian.org | |
d-i mirror/http/directory string /debian | |
# Configure http proxy if needed "http://[[user][:pass]@]host[:port]/" | |
d-i mirror/http/proxy string | |
# User configuration | |
d-i passwd/root-login boolean true | |
d-i passwd/root-password-again password packer | |
d-i passwd/root-password password packer | |
d-i passwd/user-fullname string Dino User | |
d-i passwd/user-uid string 1000 | |
d-i passwd/user-password password packer | |
d-i passwd/user-password-again password packer | |
d-i passwd/username string dino | |
# Configure hardware clock & timezone | |
d-i clock-setup/utc boolean true | |
d-i time/zone string Europe/Warsaw | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server string 0.pl.pool.ntp.org | |
# Disk configuration | |
d-i partman-auto/method string lvm | |
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-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 partman-auto-lvm/guided_size string max | |
# d-i partman-auto/choose_recipe select atomic | |
# d-i partman-auto/method string lvm | |
# d-i partman-lvm/confirm boolean true | |
# d-i partman-lvm/confirm_nooverwrite boolean true | |
# d-i partman-lvm/device_remove_lvm 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/confirm_write_new_label boolean true | |
# Extra packages to be installed | |
d-i pkgsel/include string sudo | |
d-i pkgsel/install-language-support boolean false | |
d-i pkgsel/update-policy select none | |
# Whether to upgrade packages after debootstrap | |
d-i pkgsel/upgrade select full-upgrade | |
# Allow weak user password | |
d-i user-setup/allow-password-weak boolean true | |
# Home folder encryption | |
d-i user-setup/encrypt-home boolean false | |
# Do not scan additional CDs | |
apt-cdrom-setup apt-setup/cdrom/set-first boolean false | |
# Use network mirror | |
apt-mirror-setup apt-setup/use_mirror boolean true | |
# Disable polularity contest | |
popularity-contest popularity-contest/participate boolean false | |
# Select base install | |
tasksel tasksel/first multiselect standard, ssh-server | |
# tasksel tasksel/first multiselect Serwer SSH, Podstawowe narzędzia systemowe | |
# Setup passwordless sudo for packer user | |
# d-i preseed/late_command string \ | |
# echo "dino ALL=(ALL:ALL) NOPASSWD:ALL" > /target/etc/sudoers.d/dino && chmod 0440 /target/etc/sudoers.d/dino |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment