Mercurial > sat_docs
diff docker/libervia/Dockerfile @ 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 | 0e78c8a4626e |
children | 686a8c982c3f |
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