From: Sage Weil Date: Tue, 17 Apr 2018 15:10:31 +0000 (-0500) Subject: ceph-kvstore-tool: ignore default config file and mon config by default X-Git-Tag: v13.1.0~188^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5822bb0815f8752d1aae77d9bea321dfc2ddbe9b;p=ceph.git ceph-kvstore-tool: ignore default config file and mon config by default This is a low-level tool and it is super annoying to have to pass --no-mon-config every time I use it. Signed-off-by: Sage Weil --- diff --git a/src/tools/ceph_kvstore_tool.cc b/src/tools/ceph_kvstore_tool.cc index eb01ecba8939..8bcb750ccf77 100644 --- a/src/tools/ceph_kvstore_tool.cc +++ b/src/tools/ceph_kvstore_tool.cc @@ -328,7 +328,8 @@ int main(int argc, const char *argv[]) auto cct = global_init( NULL, args, - CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0); + CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, + CINIT_FLAG_NO_DEFAULT_CONFIG_FILE); common_init_finish(g_ceph_context);