Move keyring option to global section

Using vstart.sh -n uses ceph-authtool to generate the keyring file
in ./keyring.  The vstart.sh script then writes out the ceph.conf
with a keyring option in the [client] section, so when the monitors
start, they can't find a keyring file.  This commit puts the keyring in
the [global] section.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
This commit is contained in:
Sam Lang 2012-09-19 13:22:59 -07:00
parent ed43d4de12
commit 0f7c516f3e

View File

@ -272,9 +272,9 @@ EOF
auth supported = cephx
EOF
cat <<EOF >> $conf
keyring = $keyring_fn
[client]
keyring = $keyring_fn
[mds]
$DAEMONOPTS