FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-11-2010, 10:43 PM
David Lehman
 
Default Pass '--force' to vgremove to avoid interactive prompts. (#563873)

---
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]

--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org