From cf29e72fc4075b2519a80a8e7d0e4772f470d700 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Apr 2019 13:31:07 +0100 Subject: [PATCH] Debian: set partman-lvm/device_remove_lvm_span Web searching[1] suggests that this suppresses this error: !! ERROR: Unable to automatically remove LVM data Because the volume group(s) on the selected device also consist of physical volumes on other devices, it is not considered safe to remove its LVM data automatically. If you wish to use this device for partitioning, please remove its LVM data first. [1] eg https://serverfault.com/questions/571363/unable-to-automatically-remove-lvm-data It doesn't, though. I am only experiencing it now because the ad-hoc disk-erasing (25erase-other-disks) is broken for other reasons. But let's have it anyway as it sounds like a thing we might want. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 9dec321f..073b776c 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -907,6 +907,7 @@ 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-lvm/confirm boolean true +d-i partman-lvm/device_remove_lvm_span boolean true d-i partman/confirm_nooverwrite true d-i partman-lvm/confirm_nooverwrite true -- 2.39.5