Also include mgr capabilities when bootstrapping keyring

This commit is contained in:
Nico Schottelius 2018-02-16 17:53:57 +01:00
parent 0126736a76
commit fadeabe1af
1 changed files with 6 additions and 1 deletions

View File

@ -10,4 +10,9 @@ fi
fname=$1
ceph-authtool --create-keyring "$fname" --gen-key -n mon.
ceph-authtool "$fname" --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow'
ceph-authtool "$fname" --gen-key -n client.admin \
--set-uid=0 \
--cap mon 'allow *' \
--cap osd 'allow *' \
--cap mgr 'allow *' \
--cap mds 'allow'