module documentation
Script to update a node's SSH key files.
This script is used to update the node's 'authorized_keys' and 'ganeti_pub_key' files. It will be called via SSH from the master node.
| Exception | |
Local class for reporting errors. |
| Function | |
(Re-)generates the root SSH keys. |
| Function | |
Main routine. |
| Function | |
Parses the options passed to the program. |
| Function | |
Updates root's authorized_keys file. |
| Function | |
Updates the file of public SSH keys. |
| Constant | _DATA |
Undocumented |
(Re-)generates the root SSH keys.
| Parameters | |
| data:dict | Input data |
| dry | Whether to perform a dry run |
Updates root's authorized_keys file.
| Parameters | |
| data:dict | Input data |
| dry | Whether to perform a dry run |
| _homedir | Undocumented |
Updates the file of public SSH keys.
| Parameters | |
| data:dict | Input data |
| dry | Whether to perform a dry run |
| key | Undocumented |
_DATA_CHECK =
¶
Undocumented