diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-11-23 11:19:45 -0800 |
---|---|---|
committer | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-11-23 16:01:23 -0800 |
commit | e6e8f87891de7b8788142fee068db69e8d608006 (patch) | |
tree | 9fd2531eab88c3b1f45f6d05932d2fd5b1e187a4 | |
parent | efe705cf9aa01db85529a66416053bfa24908386 (diff) | |
download | ceph-e6e8f87891de7b8788142fee068db69e8d608006.tar.gz |
vstart.sh: fix -k for mds loading
-rwxr-xr-x | src/vstart.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vstart.sh b/src/vstart.sh index 4b7abdbb9f5..d211ac5830d 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -351,12 +351,10 @@ if [ "$start_mds" -eq 1 ]; then for name in a b c d e f g h i j k l m n o p do if [ "$new" -eq 1 ]; then - cat <<EOF >> $conf -[mds.$name] -EOF + key_fn=dev/mds.$name.keyring if [ "$cephx" -eq 1 ] && [ $overwrite_conf -eq 1 ]; then - key_fn=dev/mds.$name.keyring cat <<EOF >> $conf +[mds.$name] keys file = $key_fn EOF cat <<EOF > $mds_caps |