Also include mgr capabilities when bootstrapping keyring
This commit is contained in:
parent
0126736a76
commit
fadeabe1af
1 changed files with 6 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue