summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j224
1 files changed, 13 insertions, 11 deletions
diff --git a/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
index 3528d682..32e7467a 100644
--- a/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_debian-stretch.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