From b02c21dc6967424bd180b6f7253c38f7778b4ee7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 26 Jun 2020 20:01:26 +0200 Subject: debian/buster preseed cleanup --- .../preseed/templates/preseed_debian-buster.cfg.j2 | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'roles') diff --git a/roles/installer/debian/preseed/templates/preseed_debian-buster.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_debian-buster.cfg.j2 index 770eb146..2a12ba20 100644 --- a/roles/installer/debian/preseed/templates/preseed_debian-buster.cfg.j2 +++ b/roles/installer/debian/preseed/templates/preseed_debian-buster.cfg.j2 @@ -51,19 +51,20 @@ d-i partman/early_command string \ debconf-set grub-installer/bootdev "$(readlink -f {{ hostvars[install_hostname].install_cooked.disks.primary }})"; \ umount -l /media || true -d-i grub-installer/choose_bootdev string manual -d-i grub-installer/bootdev seen true +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman-md/device_remove_md boolean true +d-i partman-md/confirm boolean true +d-i partman-md/confirm_nooverwrite boolean true +d-i partman-lvm/device_remove_lvm boolean true +d-i partman-lvm/confirm boolean true +d-i partman-lvm/confirm_nooverwrite boolean true d-i partman-auto/method string lvm d-i partman-auto/purge_lvm_from_device boolean true d-i partman-auto-lvm/new_vg_name string {{ hostvars[install_hostname].host_name }} 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-lvm/no_boot boolean true {% if (hostvars[install_hostname].install_cooked.efi | default(false)) %} d-i partman-efi/non_efi_system boolean true @@ -107,12 +108,9 @@ d-i partman-auto/expert_recipe string lv_name{ dummy } \ . -d-i partman-auto-lvm/no_boot boolean true d-i partman-basicfilesystems/no_swap 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 base-installer/install-recommends boolean false @@ -123,6 +121,10 @@ d-i pkgsel/include string openssh-server python python-apt d-i pkgsel/upgrade select safe-upgrade popularity-contest popularity-contest/participate boolean false + +## grub-installer/bootdev is set by early_command +d-i grub-installer/bootdev seen true +d-i grub-installer/choose_bootdev string manual d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean false -- cgit v1.2.3