Skip to content

Commit

Permalink
cephadm: add shared_ceph_folder opt to ceph-volume subcommand
Browse files Browse the repository at this point in the history
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 <gabrioux@redhat.com>
  • Loading branch information
guits committed Jan 19, 2022
1 parent 2791a2b commit 913a9b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cephadm/cephadm
Expand Up @@ -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_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_ceph_volume.add_argument(
'--fsid',
help='cluster FSID')
Expand Down

0 comments on commit 913a9b4

Please sign in to comment.