]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: adds the --destroy flag to ceph-volume lvm zap
authorAndrew Schoen <aschoen@redhat.com>
Wed, 17 Jan 2018 21:11:19 +0000 (15:11 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Feb 2018 19:59:51 +0000 (13:59 -0600)
commit89a0aa94c9b5becee205a1803541ceb2aad961ad
tree72c3126914bafbf8aee1cf4560a1300e6e2fe45d
parent3002953e4f506850339c676a85dc5402def7423d
ceph-volume: adds the --destroy flag to ceph-volume lvm zap

If you use the --destroy flag and are zapping a raw device
or parition then zap will destroy any vgs or lvs it finds on that
device.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit aea326b772395c076e0d75f7c2f591a46aef7f57)
src/ceph-volume/ceph_volume/devices/lvm/zap.py