Disable existing volume groups
This commit is contained in:
parent
61f083b48f
commit
8db26a013a
|
@ -172,6 +172,10 @@ case ${target_netformat} in
|
||||||
esac
|
esac
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
|
echo -n "Disabing existing volume groups... "
|
||||||
|
vgchange -an >&2 || true
|
||||||
|
echo "done."
|
||||||
|
|
||||||
echo -n "Zeroing block device '${target_disk}'... "
|
echo -n "Zeroing block device '${target_disk}'... "
|
||||||
dd if=/dev/zero of=${target_disk} bs=4M >&2 || true
|
dd if=/dev/zero of=${target_disk} bs=4M >&2 || true
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
Loading…
Reference in New Issue