gnt-cluster modify: fix --no-lvm-storage
authorGuido Trotter <ultrotter@google.com>
Tue, 12 May 2009 17:34:42 +0000 (18:34 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 13 May 2009 12:58:11 +0000 (13:58 +0100)
commitb8a8fbe114ac0a1df107de71e18ef9a0ec2f450f
tree761195ace45bd043a4e4b771d4516f65dd5f01de
parentb2482333ef31bf7dc4f0daa845ef72e7ed83bb80
gnt-cluster modify: fix --no-lvm-storage

Currently doing a gnt-cluster-modify --no-lvm-storage is silently
ignored, as it passes a None value in vg_name, which is the same as not
modifying that parameter. Explicitely set the passed value to '', so the
non-true not-None value can be evaluate to actually remove a volume
group.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
scripts/gnt-cluster