Commit 74895dc4 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

galene: create a password file to be able to access stats page

parent 08615bc5
......@@ -15,4 +15,4 @@
[instance-cfg]
filename = instance.cfg.in
md5sum = cfb389ef50e1d5e359fef4686dac097d
md5sum = c24f3241af0123c9570a60ccc0fb8fdc
[buildout]
parts =
publish-connection-parameter
stat-password
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
......@@ -49,6 +50,12 @@ recipe = slapos.cookbook:generate.password
storage-path = $${directory:data}/.passwd
username = admin
[stat-password]
recipe = slapos.recipe.template:jinja2
template = inline:
$${admin-password:username}:$${admin-password:passwd}
rendered = $${directory:data}/passwd
[ice-servers.json]
recipe = slapos.recipe.template:jinja2
template = inline:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment