Commit a992ce1d 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 10d54920
......@@ -36,7 +36,6 @@ cert = ${slap-connection:cert-file}
configuration.ipv6-enabled = {{ parameter_dict['ipv6-enabled'] }}
configuration.opcua-port = {{ parameter_dict['opcua-port'] }}
[opcua-xml-url]
recipe = slapos.recipe.build:download
url = {{ parameter_dict['opcua-xml-url'] }}
......@@ -45,7 +44,7 @@ destination = ${directory:etc}/schema.xml
[opcua-server-fhi-service]
recipe = slapos.cookbook:wrapper
command-line = /srv/slapgrid/slappart91/srv/runner/software/ef6615b72430cf04ea42cb6699d18493/bin/py /srv/slapgrid/slappart91/srv/project/slapos/software/osie/opcua-server-fhi/minimal-server.py --xml ${opcua-xml-url:destination} --port ${instance-parameter:configuration.opcua-port} --ipv6 ${instance-parameter:ipv6-random} --ipv6-enabled ${instance-parameter:configuration.ipv6-enabled}
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/opcua-server-fhi/minimal-server.py --xml ${opcua-xml-url:destination} --port ${instance-parameter:configuration.opcua-port} --ipv6 ${instance-parameter:ipv6-random} --ipv6-enabled ${instance-parameter:configuration.ipv6-enabled}
wrapper-path = ${directory:service}/opcua-server-fhi-service
output = $${:wrapper-path}
......
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