From 051c7b802ca02a1a3f9d90d1bfe7bd851257c07f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:53 -0400 Subject: [PATCH] Disable existing volume groups --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 79b0a67..9dde067 100755 --- a/install.sh +++ b/install.sh @@ -172,6 +172,10 @@ case ${target_netformat} in esac echo "done." +echo -n "Disabing existing volume groups... " +vgchange -an >&2 || true +echo "done." + echo -n "Zeroing block device '${target_disk}'... " dd if=/dev/zero of=${target_disk} bs=4M >&2 || true echo "done."