[pve-devel] [PATCH manager 15/20] pveceph: add removestorage CLI command

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Aug 25 10:48:17 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/CLI/pveceph.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/CLI/pveceph.pm b/PVE/CLI/pveceph.pm
index 16df2584..4d58c966 100755
--- a/PVE/CLI/pveceph.pm
+++ b/PVE/CLI/pveceph.pm
@@ -187,6 +187,7 @@ our $cmddef = {
 	    printf "%-${maxlen}s %s\n", $p->{storage}, $p->{monhost};
 	}
     }],
+    removestorage => [ 'PVE::API2::Ceph', 'removestorage', ['name'], { node => $nodename } ],
     createosd => [ 'PVE::API2::CephOSD', 'createosd', ['dev'], { node => $nodename }, $upid_exit],
     destroyosd => [ 'PVE::API2::CephOSD', 'destroyosd', ['osdid'], { node => $nodename }, $upid_exit],
     createmon => [ 'PVE::API2::Ceph', 'createmon', [], { node => $nodename }, $upid_exit],
-- 
2.11.0





More information about the pve-devel mailing list