|
|
@ -41,7 +41,7 @@ cp -a /ceph/mon/etc/ceph/ceph.client.admin.keyring /ceph/mds/etc/ceph/
|
|
|
|
#client
|
|
|
|
#client
|
|
|
|
mkdir -p /ceph/client/etc/ceph
|
|
|
|
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 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
|
|
|
|
chmod 600 /ceph/client/etc/ceph/keyring
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|