stages/kickstart: ensure a newline at the end of the file

To simplify extending of the kickstart file.

Fixes: rhbz#2036971
This commit is contained in:
Ondřej Budai 2022-01-04 15:57:28 +01:00 committed by Christian Kellner
parent fe379b631b
commit 0b8dbd4bc3

View file

@ -221,6 +221,7 @@ def main(tree, options):
with open(target, "w") as f:
if config:
f.write("\n".join(config))
f.write("\n")
print(f"created kickstarted at: {path}\n")
with open(target, "r") as f: