]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: use `asyncssh.scp` to write remote files
authorMichael Fritch <mfritch@suse.com>
Thu, 7 Oct 2021 16:18:00 +0000 (10:18 -0600)
committerMichael Fritch <mfritch@suse.com>
Thu, 7 Oct 2021 23:55:05 +0000 (17:55 -0600)
commit6c57113b1815c70cbe0844ffd1cbfb87d1f9d955
tree87a44c3e02a27e30751d34ed518f09ebeaf1853d
parent103b6cc3554193fcd0852d9c647cef19e99920cf
mgr/cephadm: use `asyncssh.scp` to write remote files

`tee` via stdin happens to work when the file is a utf-8 byte encoded
string, but won't work if the file happens to be binary data

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/ssh.py