prepare-node-join: Use public key directly for auth…_keys
authorMichael Hanselmann <hansmi@google.com>
Tue, 23 Oct 2012 22:26:16 +0000 (00:26 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 26 Oct 2012 12:37:25 +0000 (14:37 +0200)
commit910ef222d06496c934e3b08d593bf7d65a4012fc
tree028fb8744f9e986fd00dbe3f2ffc976001649bce
parent7bd70e6b7dc7df91a066ca11f065b8c55b845607
prepare-node-join: Use public key directly for auth…_keys

A public key already includes the necessary prefix (“ssh-rsa” or
“ssh-dss”), so there is no need to add it again.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/tools/prepare_node_join.py
test/ganeti.tools.prepare_node_join_unittest.py