From: Sage Weil Date: Thu, 7 Nov 2019 15:23:22 +0000 (-0600) Subject: ceph-daemon: help users find the shell/CLI too X-Git-Tag: v15.1.0~987^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2eaa41748bc53554729bd8233271a59a7e35981c;p=ceph.git ceph-daemon: help users find the shell/CLI too Signed-off-by: Sage Weil --- diff --git a/src/ceph-daemon b/src/ceph-daemon index 20dfe837aabb4..3d431d3828cfa 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -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