« Previous | Next » 

Revision 82122173

ID821221737967d65208a5831ed3e7349d5f1e7d7e
Parent 02715459
Child 180bdd1f

Added by Iustin Pop over 13 years ago

Rework ssh known-hosts handling.

This changes:
- cluster setup, we no longer edit /etc/ssh/ssh_known_hosts but our
own file
- node add, we no longer remove root's known_hosts (twice)
- gnt-instance console, both the LU and the script: since now the ssh
setup is not standard, we need to build the ssh cmdline in the LU
(instead of manually building it in the script) with the correct
parameters and use the command line as returned in the script
- ssh.py, many changes, split options in module-level constants so
that building the command line in different places is easier/more
logical
- backend.py, we no longer remove root's known_hosts in Add node, and
we allow our own known_hosts file to be uploaded

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences