fixed bug from prev update
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
parent
1e1f117886
commit
0ae7bcf3e2
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ def main():
|
||||||
module.fail_json(msg="Creating physical volume '%s' failed"%current_dev, rc=rc, err=err)
|
module.fail_json(msg="Creating physical volume '%s' failed"%current_dev, rc=rc, err=err)
|
||||||
### add PV to our VG
|
### add PV to our VG
|
||||||
vgextend_cmd = module.get_bin_path('vgextend', True)
|
vgextend_cmd = module.get_bin_path('vgextend', True)
|
||||||
rc,_,err = module.run_command("vgextend %s %s"%(vgextend_cmd, vg, devs_to_add_string))
|
rc,_,err = module.run_command("%s %s %s"%(vgextend_cmd, vg, devs_to_add_string))
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
changed = True
|
changed = True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue