]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: add -c argument to radosgw-admin commands 5792/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 2 Sep 2015 14:54:44 +0000 (10:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 3 Sep 2015 14:52:24 +0000 (10:52 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/vstart.sh

index 8edd8895a1efc552d1435710aad9c430247911f1..679d33a16140b0f16c5659cc2a94cc74479694ba 100755 (executable)
@@ -698,7 +698,7 @@ do_rgw()
 
     RGWSUDO=
     [ $CEPH_RGW_PORT -lt 1024 ] && RGWSUDO=sudo
-    $RGWSUDO $CEPH_BIN/radosgw --log-file=${CEPH_OUT_DIR}/rgw.log ${RGWDEBUG} --debug-ms=1
+    $RGWSUDO $CEPH_BIN/radosgw -c $conf_fn --log-file=${CEPH_OUT_DIR}/rgw.log ${RGWDEBUG} --debug-ms=1
 
     # Create S3 user
     local akey='0555b35654ad1656d804'
@@ -724,7 +724,7 @@ do_rgw()
 
     # Create Swift user
     echo "setting up user tester"
-    $CEPH_BIN/radosgw-admin user create --subuser=test:tester --display-name=Tester-Subuser --key-type=swift --secret=testing > /dev/null
+    $CEPH_BIN/radosgw-admin user create -c $conf_fn --subuser=test:tester --display-name=Tester-Subuser --key-type=swift --secret=testing > /dev/null
 
     echo ""
     echo "S3 User Info:"