mkcephfs: osd=allow * caps for osd, mds

This commit is contained in:
Sage Weil 2010-03-29 09:48:28 -07:00
parent 848caaf05f
commit aa490a761b

View File

@ -134,8 +134,8 @@ if echo $what | grep -q mon0 ; then
echo Building admin keyring at $adminkeyring
cat <<EOF > /tmp/admin_caps.$$
; generated by mkcephfs on `date`
mon = "allow rwx"
osd = "allow rwx"
mon = "allow *"
osd = "allow *"
mds = "allow"
EOF
[ -e "$monkeyring" ] && rm -f $monkeyring
@ -152,12 +152,12 @@ EOF
cat <<EOF > /tmp/osd.caps.$$
; generated by mkcephfs on `date`
mon = "allow rwx"
osd = "allow rwx"
osd = "allow *"
EOF
cat <<EOF > /tmp/mds.caps.$$
; generated by mkcephfs on `date`
mon = "allow rwx"
osd = "allow rwx"
osd = "allow *"
mds = "allow"
EOF