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:
parent
fe379b631b
commit
0b8dbd4bc3
1 changed files with 1 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ def main(tree, options):
|
||||||
with open(target, "w") as f:
|
with open(target, "w") as f:
|
||||||
if config:
|
if config:
|
||||||
f.write("\n".join(config))
|
f.write("\n".join(config))
|
||||||
|
f.write("\n")
|
||||||
|
|
||||||
print(f"created kickstarted at: {path}\n")
|
print(f"created kickstarted at: {path}\n")
|
||||||
with open(target, "r") as f:
|
with open(target, "r") as f:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue