Add hostname into confirmation

This commit is contained in:
Joshua Boniface 2019-06-21 15:54:54 -04:00
parent ef272b0b7d
commit d5e5ed4b69
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ def ceph_osd_add(node, device, weight, 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) ')
if choice != 'y' and choice != 'Y':
exit(0)