Commit 9868050f authored by Philipp's avatar Philipp

Adding via jinja2 default paramters for instance-parameters. Adding the...

Adding via jinja2 default paramters for instance-parameters. Adding the functionality to parse parameters via request
parent 52c805fd
...@@ -40,7 +40,6 @@ cryptography = 3.3.2 ...@@ -40,7 +40,6 @@ cryptography = 3.3.2
asyncua = 0.9.2 asyncua = 0.9.2
lxml = 4.9.1 lxml = 4.9.1
[instance-profile] [instance-profile]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in template = ${:_profile_base_location_}/instance.cfg.in
...@@ -48,5 +47,11 @@ rendered = ${buildout:directory}/instance.cfg ...@@ -48,5 +47,11 @@ rendered = ${buildout:directory}/instance.cfg
context = context =
section buildout buildout section buildout buildout
key interpreter_location buildout:bin-directory key interpreter_location buildout:bin-directory
key osie_repository_location osie-repository:location jsonkey default_parameter_dict :default-parameters
# Default paramters for instance-parameters
default-parameters =
{
"ipv6-enabled": "1",
"opcua-port": "4840",
"opcua-xml-url": "https://lab.nexedi.com/Demonkey/osie/raw/philipp_opcua/opcua-to-http-gw/opcua-server-config.xml"
}
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