Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos
Commits
74895dc4
Commit
74895dc4
authored
Apr 21, 2021
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
galene: create a password file to be able to access stats page
parent
08615bc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
software/galene/buildout.hash.cfg
software/galene/buildout.hash.cfg
+1
-1
software/galene/instance.cfg.in
software/galene/instance.cfg.in
+7
-0
No files found.
software/galene/buildout.hash.cfg
View file @
74895dc4
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[instance-cfg]
[instance-cfg]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum = c
fb389ef50e1d5e359fef4686dac097d
md5sum = c
24f3241af0123c9570a60ccc0fb8fdc
software/galene/instance.cfg.in
View file @
74895dc4
[buildout]
[buildout]
parts =
parts =
publish-connection-parameter
publish-connection-parameter
stat-password
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
...
@@ -49,6 +50,12 @@ recipe = slapos.cookbook:generate.password
...
@@ -49,6 +50,12 @@ recipe = slapos.cookbook:generate.password
storage-path = $${directory:data}/.passwd
storage-path = $${directory:data}/.passwd
username = admin
username = admin
[stat-password]
recipe = slapos.recipe.template:jinja2
template = inline:
$${admin-password:username}:$${admin-password:passwd}
rendered = $${directory:data}/passwd
[ice-servers.json]
[ice-servers.json]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = inline:
template = inline:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment