]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-kvstore-tool: ignore default config file and mon config by default
authorSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 15:10:31 +0000 (10:10 -0500)
committerSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 15:10:31 +0000 (10:10 -0500)
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 <sage@redhat.com>
src/tools/ceph_kvstore_tool.cc

index eb01ecba8939db0e319d9d3be087ae5281d8a45d..8bcb750ccf772f143d0f310de9c9bb77a7ac0e65 100644 (file)
@@ -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);