From 097388d3d7d752a68a58fe6f428983bd60bf3015 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 19 Jan 2022 14:17:04 +0100 Subject: [PATCH] cephadm: add shared_ceph_folder opt to ceph-volume subcommand This commit adds the `--shared_ceph_folder` option to `ceph-volume` subcommand, just like `shell` and `bootstrap` subcommands. Fixes: https://tracker.ceph.com/issues/53931 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 3a164bbe773e..c23a76cc8d93 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -8094,6 +8094,10 @@ def _get_parser(): parser_ceph_volume = subparsers.add_parser( 'ceph-volume', help='run ceph-volume inside a container') parser_ceph_volume.set_defaults(func=command_ceph_volume) + parser_ceph_volume.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_ceph_volume.add_argument( '--fsid', help='cluster FSID') -- 2.47.3