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: v16.2.8~164^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=566294b0a78e55df0965f34a5e2b0adc3f5a19b3;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 4889ec5e1eb9..7c7d3fbb8c3f 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -8286,6 +8286,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')