changeset 29:b27e7f9ad479

Docker (libervia image): added a newline at the end of /home/sat/ADMIN_PWD
author Goffi <goffi@goffi.org>
date Tue, 21 Oct 2014 17:44:41 +0200
parents 9ca1e7fe0f87
children b04be960ebdf
files docker/libervia/Dockerfile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docker/libervia/Dockerfile	Mon Oct 20 18:16:27 2014 +0200
+++ b/docker/libervia/Dockerfile	Tue Oct 21 17:44:41 2014 +0200
@@ -84,7 +84,7 @@
             config.fixConfigOption("libervia", "passphrase", pwd)\n\
         elif profile == "admin":\n\
             with open("/home/sat/ADMIN_PWD", "w") as f:\n\
-                f.write(pwd)\n\
+                f.write("%s\n" % pwd)\n\
         sat.registerSatAccount(admin_email, pwd, profile)\n\
 os.execvp("libervia", ["libervia"] + sys.argv[1:])\n\
 ' > /usr/bin/libervia_cont_launch && chmod 555 /usr/bin/libervia_cont_launch