cephadm: Access host files on "cephadm shell"
3 - minor
Pull request ID:
I have a file on my host, that I would like to use to set a "config-key":
master:/etc/ceph # head -1 /tmp/ceph-salt-ssh-id_rsa -----BEGIN RSA PRIVATE KEY-----
But when I try to use that file, I get an error because the file is not accessible inside the container:
master:/etc/ceph # cephadm shell -- ceph config-key set mgr/cephadm/ssh_identity_key -i /tmp/ceph-salt-ssh-id_rsa ... Can't open input file /tmp/ceph-salt-ssh-id_rsa: [Errno 2] No such file or directory: '/tmp/ceph-salt-ssh-id_rsa'