Commit 5309af5e authored by Philipp's avatar Philipp

Update slapos/software/opcua-server-fhi/instance.cfg.in

parent d826f34b
......@@ -31,6 +31,7 @@ partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.opcua-xml-url = slapparameter_dict.get('opcua-xml-url')
[opcua-xml-url]
recipe = slapos.recipe.build:download
......@@ -40,7 +41,7 @@ destination = ${directory:etc}/schema.xml
[opcua-server-fhi-service]
recipe = slapos.cookbook:wrapper
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/opcua-server-fhi/minimal-server.py --xml ../schema.xml --port '4840' --ipv6 '::' --ipv6-enabled '1'
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/opcua-server-fhi/minimal-server.py --xml ${opcua-xml-url:destination} --port '4840' --ipv6 ${instance-parameter:ipv6-random} --ipv6-enabled '1'
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