Disable existing volume groups
This commit is contained in:
parent
4a8a3e24ab
commit
051c7b802c
|
@ -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