From 78592fd8a2edd45aec16b18c5859fd5f877f2b0a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 26 Jan 2016 16:06:35 -0500 Subject: common: add $data_dir/config to config search path Signed-off-by: Sage Weil --- src/common/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/config.cc') diff --git a/src/common/config.cc b/src/common/config.cc index 7ffaf0494b0..d67a96bb3b2 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -56,7 +56,7 @@ using std::pair; using std::set; using std::string; -const char *CEPH_CONF_FILE_DEFAULT = "/etc/ceph/$cluster.conf, ~/.ceph/$cluster.conf, $cluster.conf"; +const char *CEPH_CONF_FILE_DEFAULT = "$data_dir/config, /etc/ceph/$cluster.conf, ~/.ceph/$cluster.conf, $cluster.conf"; // file layouts struct ceph_file_layout g_default_file_layout = { -- cgit v1.2.3