from ganeti import compat
USAGE = ("\tlvmstrap diskinfo\n"
- "\tlvmstrap [--vgname=NAME] [--allow-removable]"
+ "\tlvmstrap [--vg-name=NAME] [--allow-removable]"
" { --alldisks | --disks DISKLIST }"
" create")
result = ExecCommand(cmd)
if not use_blockdev and result.failed:
break
- elif not result.failed:
+ elif use_blockdev and not result.failed:
break
time.sleep(2)