[pve-devel] [PATCH manager v2 08/11] api: cephfs: add 'fs-name' for cephfs storage
Dominik Csapak
d.csapak at proxmox.com
Mon Oct 25 16:01:35 CEST 2021
so that we can uniquely identify the cephfs (in case of multiple)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/API2/Ceph/FS.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Ceph/FS.pm b/PVE/API2/Ceph/FS.pm
index 9b2a8d70..8e740115 100644
--- a/PVE/API2/Ceph/FS.pm
+++ b/PVE/API2/Ceph/FS.pm
@@ -202,6 +202,7 @@ __PACKAGE__->register_method ({
type => 'cephfs',
storage => $fs_name,
content => 'backup,iso,vztmpl',
+ 'fs-name' => $fs_name,
})
};
die "adding storage for CephFS '$fs_name' failed, check log ".
--
2.30.2
More information about the pve-devel
mailing list