Disable existing volume groups

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:53 -04:00
parent 4a8a3e24ab
commit 051c7b802c
1 changed files with 4 additions and 0 deletions

View File

@ -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."