Merge pull request #381 from sky-shiny/lvol-revert-yes
Revert "system/lvol: Suppress prompts from lvcreate" I should have checked this on more platforms, I verified and this option is missing in most of them
This commit is contained in:
commit
c1fee2dede
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ def main():
|
|||
changed = True
|
||||
else:
|
||||
lvcreate_cmd = module.get_bin_path("lvcreate", required=True)
|
||||
rc, _, err = module.run_command("%s --yes -n %s -%s %s%s %s" % (lvcreate_cmd, lv, size_opt, size, size_unit, vg))
|
||||
rc, _, err = module.run_command("%s -n %s -%s %s%s %s" % (lvcreate_cmd, lv, size_opt, size, size_unit, vg))
|
||||
if rc == 0:
|
||||
changed = True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue