From: Dan Mick Date: Tue, 13 Nov 2012 21:24:15 +0000 (-0800) Subject: vstart.sh: support -X by adding 'auth required = none' entries X-Git-Tag: v0.55~108 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65961ca23b39f9928d28de0c13fe47437f935f61;p=ceph.git vstart.sh: support -X by adding 'auth required = none' entries Signed-off-by: Dan Mick --- diff --git a/src/vstart.sh b/src/vstart.sh index bdf02f3b88e4..e0516341e101 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<> $conf +if [ "$cephx" -eq 1 ] ; then +cat <> $conf auth supported = cephx EOF +else +cat <> $conf + auth cluster required = none + auth service required = none + auth client required = none +EOF +fi cat <> $conf [client]