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

Re: [PATCH 1/4] Pass '--force' to vgremove to avoid interactive prompts. (#563873)



Ack for the entire set.

Regards,

Hans


On 02/12/2010 12:43 AM, David Lehman wrote:
---
  storage/devicelibs/lvm.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
index 6dd2cd6..fd74f56 100644
--- a/storage/devicelibs/lvm.py
+++ b/storage/devicelibs/lvm.py
@@ -255,7 +255,7 @@ def vgcreate(vg_name, pv_list, pe_size, progress=None):
          raise LVMError("vgcreate failed for %s: %s" % (vg_name, msg))

  def vgremove(vg_name):
-    args = ["vgremove"] + \
+    args = ["vgremove", "--force"] + \
              config_args +\
              [vg_name]



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