Add hostname into confirmation
This commit is contained in:
parent
ef272b0b7d
commit
d5e5ed4b69
|
@ -1144,7 +1144,7 @@ def ceph_osd_add(node, device, weight, yes):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not yes:
|
if not yes:
|
||||||
click.echo('DANGER: This will completely destroy all data on disk {}.'.format(device))
|
click.echo('DANGER: This will completely destroy all data on {} disk {}.'.format(node, device))
|
||||||
choice = input('Are you sure you want to do this? (y/N) ')
|
choice = input('Are you sure you want to do this? (y/N) ')
|
||||||
if choice != 'y' and choice != 'Y':
|
if choice != 'y' and choice != 'Y':
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
Loading…
Reference in New Issue