Commit 6323707e authored by Alain Takoudjou's avatar Alain Takoudjou

re6st master: publish registry ipv4 url

parent dac2c055
...@@ -192,6 +192,7 @@ hostname = ${apache-conf:ipv6} ...@@ -192,6 +192,7 @@ hostname = ${apache-conf:ipv6}
port = ${apache-conf:port} port = ${apache-conf:port}
{% do publish_dict.__setitem__('re6stry-url', uri_scheme ~ '://[${apache-conf:ipv6}]:${apache-conf:port}') -%} {% do publish_dict.__setitem__('re6stry-url', uri_scheme ~ '://[${apache-conf:ipv6}]:${apache-conf:port}') -%}
{% do publish_dict.__setitem__('re6stry-local-url', 'http://${re6st-registry:ipv4}:${re6st-registry:port}/') -%}
[publish] [publish]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
{% for name, value in publish_dict.items() -%} {% for name, value in publish_dict.items() -%}
......
...@@ -93,7 +93,7 @@ extra-context = ...@@ -93,7 +93,7 @@ extra-context =
[template-re6stnet] [template-re6stnet]
< = download-base < = download-base
filename = instance-re6stnet.cfg.in filename = instance-re6stnet.cfg.in
md5sum = 2449dd8f7438072ac8a9a3b3c67f7179 md5sum = df2a0c4f63c5e12cbd314cc02fbf23e1
[template-logrotate-base] [template-logrotate-base]
< = template-jinja2-base < = template-jinja2-base
......
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