]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-daemon: append newline before public key string 31788/head
authorRicardo Dias <rdias@suse.com>
Thu, 21 Nov 2019 15:01:31 +0000 (15:01 +0000)
committerRicardo Dias <rdias@suse.com>
Thu, 21 Nov 2019 16:31:13 +0000 (16:31 +0000)
commit1de5f989936701571904829288d43f5fe1480e38
tree1979ef1f5fb1b6a318b478b8946c56e4a54b2516
parentd686901abd4d099410ccfa2fe05792b0abef93ed
ceph-daemon: append newline before public key string

Sometimes, `authorized_keys` file does not end with a newline and
therefore the public key generated by ceph-daemon gets appended to
the same line of the previous key. Therefore we need to append a
newline before our key to guarantee that the above case does not
happen.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/ceph-daemon/ceph-daemon