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
Boxiang Sun
slapos
Commits
35cf7722
Commit
35cf7722
authored
Apr 08, 2023
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5testnode: port fixup
parent
be859e9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
software/erp5testnode/buildout.hash.cfg
software/erp5testnode/buildout.hash.cfg
+1
-1
software/erp5testnode/instance-default.cfg.jinja.in
software/erp5testnode/instance-default.cfg.jinja.in
+15
-3
No files found.
software/erp5testnode/buildout.hash.cfg
View file @
35cf7722
...
...
@@ -18,4 +18,4 @@ md5sum = a0e249bc3e0af5c23c85c3b31314be5f
[template-default]
filename = instance-default.cfg.jinja.in
md5sum =
96fb2221c8a91fb44dc5b931c29e0af9
md5sum =
4cb714e4293b36bd325ddb26ccf7491d
software/erp5testnode/instance-default.cfg.jinja.in
View file @
35cf7722
...
...
@@ -32,6 +32,12 @@ log-frontend-url = $${testnode-log-frontend:connection-secure_access}
recipe = slapos.cookbook:generate.password
storage-path = $${buildout:directory}/.password
[httpd-address]
recipe = slapos.cookbook:free_port
minimum = 9080
maximum = 9180
ip = {{ partition_ipv6 }}
[testnode]
recipe = slapos.cookbook:erp5testnode
slapos-directory = $${directory:slapos}
...
...
@@ -64,8 +70,8 @@ httpd-pid-file = $${basedirectory:run}/httpd.pid
httpd-lock-file = $${basedirectory:run}/httpd.lock
httpd-conf-file = $${rootdirectory:etc}/httpd.conf
httpd-wrapper = $${rootdirectory:bin}/httpd
httpd-port =
9080
httpd-software-access-port =
908
1
httpd-port =
$${httpd-address:port}
httpd-software-access-port =
$${httpd-address:port} +
1
httpd-ip = {{ partition_ipv6 }}
httpd-log-directory = $${basedirectory:log}
httpd-software-directory = $${directory:software}
...
...
@@ -124,6 +130,12 @@ location =
$${:cert-file}
ipv6 = {{ partition_ipv6 }}
[shellinabox-frontend-address]
recipe = slapos.cookbook:free_port
minimum = 8080
maximum = 8180
ip = $${shellinabox-frontend-certificate:ipv6}
[shellinabox-frontend-config]
recipe = slapos.recipe.template:jinja2
url = ${stack-haproxy-default-backend-config:target}
...
...
@@ -145,7 +157,7 @@ content =
ipv6 = $${shellinabox-frontend-certificate:ipv6}
hostname = [$${:ipv6}]
port =
8080
port =
$${shellinabox-frontend-address:port}
username = testnode
passwd = $${pwgen:passwd}
cert-file = $${directory:shellinabox}/public.crt
...
...
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