]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add a --dry-run option to cephadm shell
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 11 Oct 2023 18:05:17 +0000 (14:05 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 24 Oct 2023 17:58:59 +0000 (13:58 -0400)
commitdb1e785b2c1a55f4d232b1642573e5672a136190
tree450d261e12706ef62e65884614cc662182d2fd6d
parent241e46afbbba0ffb09285737ae8b6087804d857a
cephadm: add a --dry-run option to cephadm shell

Instead of creating the shell, the --dry-run option prints the container
command that would be used. This can be used as a starting point for
creating custom container commands similar to what cephadm shell would
generate but with tweaks.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py