[pve-devel] [PATCH manager 07/11] api: cephfs: add 'fs-name' for cephfs storage
Dominik Csapak
d.csapak at proxmox.com
Tue Oct 19 11:33:49 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 845c4fbd..8bf71524 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