[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/2] Pass --force when calling vgreduce --removemissing. (#679206)



---
 pyanaconda/storage/devicelibs/lvm.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/devicelibs/lvm.py b/pyanaconda/storage/devicelibs/lvm.py
index 31a61a5..121c896 100644
--- a/pyanaconda/storage/devicelibs/lvm.py
+++ b/pyanaconda/storage/devicelibs/lvm.py
@@ -275,7 +275,7 @@ def vgreduce(vg_name, pv_list, rm=False):
     args = ["vgreduce"]
     args.extend(config_args)
     if rm:
-        args.extend(["--removemissing", vg_name])
+        args.extend(["--removemissing", "--force", vg_name])
     else:
         args.extend([vg_name] + pv_list)
 
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]