From 65961ca23b39f9928d28de0c13fe47437f935f61 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 13 Nov 2012 13:24:15 -0800 Subject: [PATCH] vstart.sh: support -X by adding 'auth required = none' entries Signed-off-by: Dan Mick --- src/vstart.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/vstart.sh b/src/vstart.sh index bdf02f3b88e46..e0516341e1013 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] -- 2.39.5