diff --git a/bootstrap.sh b/bootstrap.sh index d19f2d1..09e27b8 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -44,7 +44,7 @@ docker run -d --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ #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 docker run -d --rm --net=ceph -v /cephfs:/cephfs:shared -v /ceph/client/etc/ceph:/etc/ceph --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined --name ceph_client --entrypoint ceph-fuse docker.io/ceph/daemon:latest-nautilus /cephfs -f --id $(hostname)