From: Christian Heller Date: Mon, 14 Apr 2025 00:52:16 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/static/todo?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=config Fix. --- diff --git a/bookworm/preseed.cfg b/bookworm/preseed.cfg index 06d5766..ded64d7 100644 --- a/bookworm/preseed.cfg +++ b/bookworm/preseed.cfg @@ -1,41 +1,93 @@ #_preseed_V1 +# "Select a language" +d-i debian-installer/language string en +d-i debian-installer/country string US +d-i debian-installer/locale string en_US.UTF-8 +d-i localechooser/supported-locales multiselect + +# "Configure the clock" +d-i clock-setup/ntp boolean false +d-i time/zone select UTC + +# "Load installer components from installation media" d-i anna/choose_modules multiselect +# "Detect network hardware" +# "Configure the network" d-i netcfg/link_wait_timeout string 3 d-i netcfg/choose_interface select auto -#d-i netcfg/wireless_essid string REPLACE_WITH_WIFI_ESSID -#d-i netcfg/wireless_essid seen true +# d-i netcfg/wireless_essid string REPLACE_WITH_WIFI_ESSID +# d-i netcfg/wireless_essid seen true d-i netcfg/wireless_show_essids select REPLACE_WITH_WIFI_ESSID -#d-i netcfg/wireless_show_essids seen true -#d-i netcfg/confirm_essid boolean true -#d-i netcfg/confirm_essid seen true d-i netcfg/wireless_security_type select wpa d-i netcfg/wireless_wpa string REPLACE_WITH_WIFI_PASSWORD -d-i netcfg/wireless_wpa seen true d-i netcfg/use_autoconfig boolean true d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain +# "Set up users and passwords" d-i passwd/root-login boolean true d-i passwd/root-password password REPLACE_WITH_ROOT_PASSWORD d-i passwd/root-password-again password REPLACE_WITH_ROOT_PASSWORD user-setup-udeb passwd/make-user boolean false -#d-i partman-auto/method string crypto -#d-i partman-auto/select_disk string /var/lib/partman/devices/=dev=nvme0n1 -d-i partman-auto-lvm/guided_size string max -#d-i partman-auto-lvm/new_vg_name string plomvg -#d-i partman-auto/choose_recipe select atomic +# "Detect disks" +# "Partition disks" +# "Partition disks":"Partitioning method:"/"Guided - use entire disk and set up encrypted LVM" +d-i partman-auto/init_automatically_partition select 70some_device_crypto__________crypto +# "Partition disks":"Select disk to partition:"/"/dev/nvme0n1 - 512.1 GB SAMSUNG MZVLB512HBJQ-000L7" +#d-i partman-auto/select_disk select /dev/nvme0n1 +d-i partman-auto/disk string /dev/nvme0n1p3 +#d-i partman-auto/select_disk select /var/lib/partman/devices/=dev=nvme0n1 +# "Partition disks":"Partitioning scheme:"/"All files in one partition (recommended for new users)" +d-i partman-auto/choose_recipe select atomic +# "Partition disks"/"Write the changes to disks and configure LVM?" +d-i partman-lvm/confirm boolean true +# "Partition disks"/"Erasing data on /dev/nvme0n1p3:" d-i partman-auto-crypto/erase_disks boolean false -# d-i partman-lvm/confirm boolean true +# "Partition disks"/"Encryption passphrase:" +# "Partition disks"/Name of the volume group for the new system:" +d-i partman-auto-lvm/new_vg_name string plomvg +# "Partition disks"/"Amount of volume group to use for guided partitioning:" +d-i partman-auto-lvm/guided_size string max +# "Partition disks"/"Configure the logical volume manager" +# "Partition disks"/"Write the changes to disks and configure LVM?" +# "Partition disks"/"LVM configuration action:"/"Delete logical volume" +# "Partition disks"/"Please select the logical volume to delete."/"Logical volume:"/"root" +# "Partition disks"/"LVM configuration action:"/"Delete logical volume" +# "Partition disks"/"Please select the logical volume to delete."/"Logical volume:"/"swap_1" +# "Partition disks"/"LVM configuration action:"/"Create logical volume" +# "Partition disks"/"Please select the volume group where the new logical volume should be created."/"Volume group:" +# "Partition disks"/"Please enter the name you would like to use for the new logical volume."/"Logical volume name:"/"swap" +# "Partition disks"/"Please enter the size …"/"Logical volume size:"/"48G" +# "Partition disks"/"LVM configuration action:"/"Create logical volume" +# "Partition disks"/"Please select the volume group where the new logical volume should be created."/"Volume group:" +# "Partition disks"/"Please enter the name you would like to use for the new logical volume."/"Logical volume name:"/"root" +# "Partition disks"/"Please enter the size …"/"Logical volume size:"/"463042MB" +# "Partition disks"/"LVM configuration action:"/"Finish" +# "Partition disks"/"You are editing partition #1 of …"/"Partition settings:"/"Use as" +# "Partition disks"/"How to use this partition:"/"Ext4 journaling file system" +# "Partition disks"/"You are editing partition #1 of …"/"Partition settings:"/"Mount point" +# "Partition disks"/"Mount point for this partition:"/"/ - the root file system" +# "Partition disks"/"You are editing partition #1 of …"/"Partition settings:"/"Done setting up the partition" +# "Partition disks"/"You are editing partition #1 of …"/"Partition settings:"/"Use as" +# "Partition disks"/"How to use this partition:"/"swap area" +# "Partition disks"/"You are editing partition #1 of …"/"Partition settings:"/"Done setting up the partition" +# "Partition disks"/"Finish partitioning and write changes to disk" +# "Partition disks"/"Write the changes to disks?" +# "Install the base system" d-i base-installer/kernel/image string linux-image-amd64 d-i base-installer/initramfs-tools/driver-policy most #d-i base-installer/install-recommends boolean false #d-i pkgsel/run_tasksel boolean false +# "Configure the package manager" +# "Configure the package manager"/"Debian archive mirror country:" +# "Configure the package manager"/"Debian archive mirror:" +# d-i apt-setup/use_mirror boolean true d-i mirror/protocol string http d-i mirror/http/proxy string @@ -49,9 +101,16 @@ d-i apt-setup/non-free boolean true d-i apt-setup/contrib boolean true d-i apt-setup/services-select multiselect security, updates +# "Select and install software" +# "Configuring discover":"Updates management on this system:"/"No automatic updates" +# "Configuring popularity-contest":"Participate in the package usage survey?" +# "Software selection":"Choose software to install"/("Debian desktop environment" etc.) + +# "Install the GRUB boot loader" d-i grub-installer/force-efi-extra-removable false d-i grub-installer/update-nvram true d-i grub-installer/enable_os_prober_otheros_no false +# "Finish the installation" clock-setup clock-setup/utc boolean true d-i finish-install/reboot_in_progress note diff --git a/testing/scripts/update_preseed.sh b/testing/scripts/update_preseed.sh index 6a195a6..0def2f6 100755 --- a/testing/scripts/update_preseed.sh +++ b/testing/scripts/update_preseed.sh @@ -6,7 +6,7 @@ cd $(dirname "$0") . lib/expect_n_args . lib/get_mountable_device_path -expect_n_args 1 4 'DEVICE (e.g. "sdb1") [ROOT_PASSWORD] [WIFI_ESSID] [WIFI_PASSWORD]' $@ +expect_n_args 4 4 'DEVICE (e.g. "sdb1") ROOT_PASSWORD WIFI_ESSID WIFI_PASSWORD' $@ DEVICE_NAME="$1" ROOT_PASSWORD="$2" WIFI_ESSID="$3"