From: Guillaume Abrioux Date: Wed, 19 Jan 2022 13:17:04 +0000 (+0100) Subject: cephadm: add shared_ceph_folder opt to ceph-volume subcommand X-Git-Tag: v18.0.0~1500^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=097388d3d7d752a68a58fe6f428983bd60bf3015;p=ceph.git 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 --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 3a164bbe773e4..c23a76cc8d93c 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')