Commit 7a0156dc authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

Fix authorized_keys generation at cluster init

Copy pub_key in authorized_keys.
Signed-off-by: default avatarLuca Bigliardi <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 62947ebb
......@@ -63,7 +63,7 @@ def _InitSSHSetup():
raise errors.OpExecError("Could not generate ssh keypair, error %s" %
utils.AddAuthorizedKey(auth_keys, utils.ReadFile(auth_keys))
utils.AddAuthorizedKey(auth_keys, utils.ReadFile(pub_key))
def _GenerateSelfSignedSslCert(file_name, validity=(365 * 5)):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment