]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: support multiple mounts when running shell
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 9 Sep 2020 08:14:33 +0000 (10:14 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2020 09:40:53 +0000 (11:40 +0200)
commit203d4ce36f1fb3be89fd5e07b5d528c2ae955fcb
tree115df4195b026741decc958c9e97611d0a98e89c
parentc2527097440887835f1e2d03c8d6de2245f5fd9a
cephadm: support multiple mounts when running shell

This commit adds the multiple mounts support when running the
interactive shell.

ie:
```
--mount /foo /bar:/bar:z
```

Keeping default destination `/mnt` when no destination is passed for
backward compatibility. In the above example `/foo` will be mounted in
`/mnt/foo` and `/bar` in `/bar`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3ed3cff0d0ea2744dff816270d49539fd73c1691)
doc/man/8/cephadm.rst
qa/workunits/cephadm/test_cephadm.sh
src/cephadm/cephadm