Commit e2e92ea0 authored by Guido Trotter's avatar Guido Trotter
Browse files

Generate hmac file with a newline at the end

This makes it slightly easier to cut&paste its content.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichael Hanselmann <>
parent d2c8afb1
......@@ -107,7 +107,7 @@ def GenerateHmacKey(file_name):
@param file_name: Path to output file
utils.WriteFile(file_name, data=utils.GenerateSecret(), mode=0400)
utils.WriteFile(file_name, data="%s\n" % utils.GenerateSecret(), mode=0400)
def _InitGanetiServerSetup(master_name):
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