From fd16e45734232215b0d0e5804fb89e171c169f4d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 8 Jan 2019 22:59:01 +0100 Subject: preseed install disk detection works now --- roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2') diff --git a/roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2 b/roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2 index e923d9c8..93dd55b5 100644 --- a/roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2 +++ b/roles/preseed/templates/preseed_ubuntu-bionic.cfg.j2 @@ -48,16 +48,12 @@ d-i clock-setup/ntp boolean false d-i partman/early_command string \ debconf-set partman-auto/disk "$(readlink -f {{ hostvars[hostname].install_cooked.disks.primary }})"; \ - debconf-set grub-installer/choose_bootdev "$(readlink -f {{ hostvars[hostname].install_cooked.disks.primary }})"; \ debconf-set grub-installer/bootdev "$(readlink -f {{ hostvars[hostname].install_cooked.disks.primary }})"; \ umount -l /media || true -d-i grub-installer/choose_bootdev seen true +d-i grub-installer/choose_bootdev string manual d-i grub-installer/bootdev seen true -d-i partman/unmount_active boolean true -d-i partman/unmount_active seen 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[hostname].host_name }} -- cgit v1.2.3