Client: add newline to motd message

This commit is contained in:
Arthur Golubtsov
2019-10-17 13:09:07 +01:00
parent b03485d22a
commit 37a7d32e87

View File

@@ -184,7 +184,7 @@ def configure_hosts(hostname):
def configure_motd(hostname):
with open("/etc/motd", "w") as f:
f.write("\r\n{}\r\n".format(hostname))
f.write("\r\n{}\r\n\r\n".format(hostname))
def configure_bashrc(hostname):
path = "/home/pi/.bashrc"