Add initial implementation of prepare-node-join
This is a new tool as per the design document “design-ssh-setup”. It receives a JSON data structure on its standard input and configures the SSH daemon and root's SSH keys accordingly. Unit tests are included. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- Makefile.am 9 additions, 3 deletionsMakefile.am
- lib/constants.py 12 additions, 0 deletionslib/constants.py
- lib/ssh.py 4 additions, 1 deletionlib/ssh.py
- lib/tools/prepare_node_join.py 365 additions, 0 deletionslib/tools/prepare_node_join.py
- lib/utils/io.py 1 addition, 4 deletionslib/utils/io.py
- test/data/cert2.pem 22 additions, 0 deletionstest/data/cert2.pem
- test/ganeti.tools.prepare_node_join_unittest.py 309 additions, 0 deletionstest/ganeti.tools.prepare_node_join_unittest.py
Loading
Please register or sign in to comment