diff options
-rwxr-xr-x | src/vstart.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vstart.sh b/src/vstart.sh index bdf02f3b88e..e0516341e10 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -292,9 +292,17 @@ if [ "$start_mon" -eq 1 ]; then osd pgp bits = 5 ; (invalid, but ceph should cope!) osd pool default min size = 1 EOF - [ "$cephx" -eq 1 ] && cat<<EOF >> $conf +if [ "$cephx" -eq 1 ] ; then +cat <<EOF >> $conf auth supported = cephx EOF +else +cat <<EOF >> $conf + auth cluster required = none + auth service required = none + auth client required = none +EOF +fi cat <<EOF >> $conf [client] |