]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/ssh: pipe ceph-daemon script to stdin of python3
authorSage Weil <sage@redhat.com>
Thu, 3 Oct 2019 21:13:47 +0000 (16:13 -0500)
committerSage Weil <sage@redhat.com>
Sat, 5 Oct 2019 01:33:35 +0000 (20:33 -0500)
commitac99fe75450202bc796950d452920c12037154df
tree083395b681ca6aad5277c278a9be7c1cdde0d1e6
parent38ae16060f588389c2f9e888a7d57ac219399937
mgr/ssh: pipe ceph-daemon script to stdin of python3

This avoids any need for the script to be present on the remote host.

We introduce a config option to indicate where the script should be
read from, since the location varies between a vstart environment (source
dir) and a real install (/usr/sbin).

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc
src/pybind/mgr/ssh/module.py
src/vstart.sh