Only directly zap the disk for older ceph versions
This commit is contained in:
parent
cf62f8a88b
commit
1c5aa24fe6
|
@ -346,9 +346,8 @@ def osdize_dev(dev, osd_format, osd_journal, reformat_osd=False):
|
|||
# Just provide the device - no other options
|
||||
# for older versions of ceph
|
||||
cmd.append(dev)
|
||||
|
||||
if reformat_osd:
|
||||
zap_disk(dev)
|
||||
if reformat_osd:
|
||||
zap_disk(dev)
|
||||
|
||||
subprocess.check_call(cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue