Revision b8a8fbe1

b/scripts/gnt-cluster
467 467
  if not opts.lvm_storage and opts.vg_name:
468 468
    ToStdout("Options --no-lvm-storage and --vg-name conflict.")
469 469
    return 1
470
  elif not opts.lvm_storage:
471
    vg_name = ''
470 472

  
471 473
  hvlist = opts.enabled_hypervisors
472 474
  if hvlist is not None:
......
480 482
  beparams = opts.beparams
481 483
  utils.ForceDictType(beparams, constants.BES_PARAMETER_TYPES)
482 484

  
483
  op = opcodes.OpSetClusterParams(vg_name=opts.vg_name,
485
  op = opcodes.OpSetClusterParams(vg_name=vg_name,
484 486
                                  enabled_hypervisors=hvlist,
485 487
                                  hvparams=hvparams,
486 488
                                  beparams=beparams,

Also available in: Unified diff