Merge pull request #182 from misho-kr/devel

fix lvol module to properly query the size of logical volumes
reviewable/pr18780/r1
Brian Coca 10 years ago
commit 41ddb689db

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

Loading…
Cancel
Save