summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-26 20:01:26 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-01 11:37:40 +0200
commitb02c21dc6967424bd180b6f7253c38f7778b4ee7 (patch)
tree5c1a654a34a7111af4ff39f6174fa10e66f344b3
parentadd ch-oulu testserver for preseed partitioning (diff)
debian/buster preseed cleanup
-rw-r--r--roles/installer/debian/preseed/templates/preseed_debian-buster.cfg.j224
1 files changed, 13 insertions, 11 deletions
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