mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
vstart: include [mds.$name] for auth_none
This commit is contained in:
parent
69ff349eb3
commit
d7364a4810
@ -350,11 +350,13 @@ if [ "$start_mds" -eq 1 ]; then
|
||||
mds=0
|
||||
for name in a b c d e f g h i j k l m n o p
|
||||
do
|
||||
[ "$cephx" -eq 1 ] && key_fn=dev/mds.$name.keyring
|
||||
if [ "$new" -eq 1 ]; then
|
||||
if [ "$cephx" -eq 1 ] &&[ $overwrite_conf -eq 1 ]; then
|
||||
cat <<EOF >> $conf
|
||||
cat <<EOF >> $conf
|
||||
[mds.$name]
|
||||
EOF
|
||||
if [ "$cephx" -eq 1 ] && [ $overwrite_conf -eq 1 ]; then
|
||||
key_fn=dev/mds.$name.keyring
|
||||
cat <<EOF >> $conf
|
||||
keys file = $key_fn
|
||||
EOF
|
||||
cat <<EOF > $mds_caps
|
||||
|
Loading…
Reference in New Issue
Block a user