]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: help users find the shell/CLI too 31464/head
authorSage Weil <sage@redhat.com>
Thu, 7 Nov 2019 15:23:22 +0000 (09:23 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Nov 2019 22:20:23 +0000 (16:20 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index 20dfe837aabb466fa7333df844f4a99f45f37de3..3d431d3828cfa88152344403fd154ea461386b21 100755 (executable)
@@ -1133,6 +1133,12 @@ def command_bootstrap():
                         args.initial_dashboard_user,
                         password))
 
+    if args.output_config and args.output_keyring:
+        logger.info('You can access the Ceph CLI with:\n\n'
+                    '\tsudo %s shell -c %s -k %s\n' % (
+                        sys.argv[0],
+                        args.output_config,
+                        args.output_keyring))
     logger.info('Bootstrap complete.')
     return 0