diff --git a/lib/bootstrap.py b/lib/bootstrap.py index 5b277e9d8b2c20a618e9c2b630be9d0606a4779f..a162897e493c9809e44d707d43c1867152accc58 100644 --- a/lib/bootstrap.py +++ b/lib/bootstrap.py @@ -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):