Rename
This commit is contained in:
parent
db09531983
commit
d2fdb82730
2 changed files with 8 additions and 8 deletions
13
ceph-create-initial-keyring
Executable file
13
ceph-create-initial-keyring
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Creates the initial keys
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "$0 initial-key-file"
|
||||
exit 1
|
||||
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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue