Disable existing volume groups

This commit is contained in:
Joshua Boniface 2019-06-13 20:40:59 -04:00
parent 61f083b48f
commit 8db26a013a
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."