From: Rishabh Dave Date: Wed, 28 Aug 2019 13:57:29 +0000 (+0530) Subject: cephfs-shell: read shell variables from ceph.conf X-Git-Tag: v15.1.0~636^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=33f5a59ac80262041b8dd19ebad6c10ba8d67e79;p=ceph.git cephfs-shell: read shell variables from ceph.conf Read ceph.conf and initialize shell variables by reading options set under section cephfs-shell. If there are sections/options that are duplicated in ceph.conf, CephFS shell overrides the options with the values last. Signed-off-by: Rishabh Dave --- diff --git a/src/common/options.cc b/src/common/options.cc index 6a3b9b2432bac..384df54dc5fbc 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8281,6 +8281,57 @@ std::vector