From 37ea06cfd0937df6230383d16de9fbda9a5a6f3f Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 10 Nov 2021 16:08:13 +0100 Subject: [PATCH] cephadm: add --shared_ceph_folder to shell cmd It can be useful to share ceph src when running the `cephadm shell` command in order to do quick tests. Signed-off-by: Guillaume Abrioux --- src/cephadm/cephadm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index b367b38eea4..3b94f88823b 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -7792,6 +7792,10 @@ def _get_parser(): parser_shell = subparsers.add_parser( 'shell', help='run an interactive shell inside a daemon container') parser_shell.set_defaults(func=command_shell) + parser_shell.add_argument( + '--shared_ceph_folder', + metavar='CEPH_SOURCE_FOLDER', + help='Development mode. Several folders in containers are volumes mapped to different sub-folders in the ceph source folder') parser_shell.add_argument( '--fsid', help='cluster FSID') -- 2.39.5