summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmdbusd/cmdhandler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py
index ea7e300cf..8bc741dc6 100644
--- a/daemons/lvmdbusd/cmdhandler.py
+++ b/daemons/lvmdbusd/cmdhandler.py
@@ -324,10 +324,12 @@ def vg_rename(vg_uuid, new_name, rename_options):
return call(cmd)
-def vg_remove(vg_name, remove_options):
+def vg_remove(vg_id, remove_options):
cmd = ['vgremove']
cmd.extend(options_to_cli_args(remove_options))
- cmd.extend(['-f', vg_name])
+ cmd.extend(['-f', vg_id])
+ # https://bugzilla.redhat.com/show_bug.cgi?id=2175220 is preventing us from doing the following
+ # cmd.extend(['-f', "--select", "vg_uuid=%s" % vg_id])
return call(cmd)