Skip to content
  • Helga Velroyen's avatar
    Introducing the 'ssh_update' tool · 2be56731
    Helga Velroyen authored
    
    
    In order to update the 'ganeti_pub_keys' and the
    'authorized_keys' files of various nodes via SSH, we
    introduce the tool 'ssh_update'. It works similar to the
    tool 'prepare_node_join', which is also a tool invoked
    via SSH on a remote note.
    
    This patch includes some refactoring to reuse code from
    the 'prepare_node_join' tool and provides unit tests as
    well. Note that the actual invocation of the 'ssh_update'
    tool will be done in later patches of this series.
    
    Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
    Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
    2be56731