Debian-preseeds/minimal-preseed.txt

102 lines
4.9 KiB
Plaintext
Raw Normal View History

2024-02-29 01:33:51 -05:00
############################################################
# #
# ███╗ ███╗██╗███╗ ██╗██╗███╗ ███╗ █████╗ ██╗ #
# ████╗ ████║██║████╗ ██║██║████╗ ████║██╔══██╗██║ #
# ██╔████╔██║██║██╔██╗ ██║██║██╔████╔██║███████║██║ #
# ██║╚██╔╝██║██║██║╚██╗██║██║██║╚██╔╝██║██╔══██║██║ #
# ██║ ╚═╝ ██║██║██║ ╚████║██║██║ ╚═╝ ██║██║ ██║███████╗ #
# ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ #
# #
# ██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ██╗ #
# ██╔══██╗██╔════╝██╔══██╗██║██╔══██╗████╗ ██║ #
# ██████╔╝█████╗ ██║ ██║██║███████║██╔██╗ ██║ #
# ██╔══██╗██╔══╝ ██║ ██║██║██╔══██║██║╚██╗██║ #
# ██████╔╝███████╗██████╔╝██║██║ ██║██║ ╚████║ #
# ╚═════╝ ╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ #
# #
############################################################
#
# By Yingjie Wang
#
############################################################
2024-02-29 01:04:38 -05:00
### Localization
d-i debian-installer/locale string en_US.UTF-8
d-i keyboard-configuration/xkb-keymap select us
### Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string debian-vm
d-i netcfg/get_domain string local
d-i hw-detect/load_firmware boolean true
### Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
### Account setup
d-i passwd/root-login boolean false
d-i passwd/user-fullname string Yingjie Wang
d-i passwd/username string wyj
d-i passwd/user-password-crypted password $6$t/elWbp41BhqoPU0$hAZ4CqWa.U6YKOfKgvSiK1LdZbCCzum5L6uGayO3HTWLkuLVbuvMhHWFfNF.kifH7orv3DECP2yKqVwqDppae0
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string America/New_York
d-i clock-setup/ntp boolean true
### Partitioning
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 efi-root
d-i partman-auto/expert_recipe string \
efi-root :: \
256 256 512 free \
$primary{ } $bootable{ } \
method{ efi } format{ } \
. \
2048 50 -1 ext4 \
$lvmok{ } lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
d-i partman-partitioning/choose_label select gpt
d-i partman-partitioning/default_label string gpt
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/mount_style select uuid
### Base system installation
### Apt setup
d-i apt-setup/cdrom/set-first boolean false
d-i apt-setup/non-free-firmware boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/disable-cdrom-entries boolean true
### Package selection
tasksel tasksel/first multiselect standard, ssh-server
### Boot loader installation
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string default
### Finishing up the installation
#d-i finish-install/keep-consoles boolean true
d-i finish-install/reboot_in_progress note