]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephfs-shell: read shell variables from ceph.conf
authorRishabh Dave <ridave@redhat.com>
Wed, 28 Aug 2019 13:57:29 +0000 (19:27 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 6 Dec 2019 03:22:59 +0000 (08:52 +0530)
commit33f5a59ac80262041b8dd19ebad6c10ba8d67e79
tree62c4f3c8d83b451fed46c3dded1a4a90a5e812d4
parent45907ee258d2db5773d0001c25a901d9f520d6cc
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 <ridave@redhat.com>
src/common/options.cc
src/tools/cephfs/cephfs-shell