api: cephfs: add 'fs-name' for cephfs storage

so that we can uniquely identify the cephfs (in case of multiple)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-10-25 16:01:35 +02:00 committed by Thomas Lamprecht
parent 999df1c25e
commit 6ec3dc437b

View File

@ -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 ".