fix lvol module to properly query the size of logical volumes

reviewable/pr18780/r1
Misho Krastev 10 years ago
parent 3e7da5366b
commit 5acc634549

@ -153,7 +153,7 @@ def main():
unit = size_unit
rc, current_lvs, err = module.run_command(
"lvs --noheadings -o lv_name,size --units %s --separator ';' %s" % (unit, vg))
"lvs --noheadings --nosuffix -o lv_name,size --units %s --separator ';' %s" % (unit, vg))
if rc != 0:
if state == 'absent':

Loading…
Cancel
Save