From 2eaa41748bc53554729bd8233271a59a7e35981c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 7 Nov 2019 09:23:22 -0600 Subject: [PATCH] ceph-daemon: help users find the shell/CLI too Signed-off-by: Sage Weil --- src/ceph-daemon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ceph-daemon b/src/ceph-daemon index 20dfe837aab..3d431d3828c 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 -- 2.47.3