mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 01:07:01 +00:00
Add newline to issue.net.
This commit is contained in:
@@ -525,7 +525,7 @@ rm -f /usr/sbin/policy-rc.d
|
||||
fn = os.path.join(dir_, "etc/issue.net")
|
||||
onlu.execute("sudo chmod a+w %s" % fn)
|
||||
with open(fn, "w") as f:
|
||||
f.write("%s" % issue)
|
||||
f.write("%s\n" % issue)
|
||||
onlu.execute("sudo chmod a-w %s" % fn)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user