From 0b8dbd4bc3ea80c66a1981cf7d44f02b2b9a9f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Tue, 4 Jan 2022 15:57:28 +0100 Subject: [PATCH] stages/kickstart: ensure a newline at the end of the file To simplify extending of the kickstart file. Fixes: rhbz#2036971 --- stages/org.osbuild.kickstart | 1 + 1 file changed, 1 insertion(+) diff --git a/stages/org.osbuild.kickstart b/stages/org.osbuild.kickstart index 70945448..479e87a9 100755 --- a/stages/org.osbuild.kickstart +++ b/stages/org.osbuild.kickstart @@ -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: