add snapshot permissions to client key

master
lub 4 years ago
parent 9a14b6255f
commit 6bd8df2bbe

@ -41,7 +41,7 @@ cp -a /ceph/mon/etc/ceph/ceph.client.admin.keyring /ceph/mds/etc/ceph/
#client
mkdir -p /ceph/client/etc/ceph
docker exec ceph_mon ceph config generate-minimal-conf > /ceph/client/etc/ceph/ceph.conf
(docker exec ceph_mon ceph fs authorize cephfs client.$(hostname) / rw) > /ceph/client/etc/ceph/keyring
(docker exec ceph_mon ceph fs authorize cephfs client.$(hostname) / rws) > /ceph/client/etc/ceph/keyring
chmod 600 /ceph/client/etc/ceph/keyring

Loading…
Cancel
Save