From a00ff0e175b1dcb1861359917bbdce6b396a6e87 Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 22 Dec 2019 20:33:45 +0100 Subject: [PATCH] allow clients to create snapshots --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)