Commit 3ee1dcca authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4dd44e13
......@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum = 3314e80281f83222a183f67eef208b9a
md5sum = 29e3ef839bbb369b64fec1cc239ad391
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
......
......@@ -9,7 +9,7 @@
[{{ru_ref}}-software-template]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}-software
_logbase = ${directory:var}/log/{{ru_ref}}-software
log-output = ${:_logbase}.log
software-reply-json-log-output = ${:_logbase}-reply.json.log
remote-file-path = sftp://${user-info:pw-name}@[${slap-configuration:ipv6-random}]:${sshd-port:port}${ru_lopcomm-firmware-dl:destination}
......@@ -30,10 +30,10 @@ mode = 0775
url = {{ ru_lopcomm_software_template }}
output = ${directory:script}/{{ru_ref}}-software.py
{{ promise('%s-firmware-update' % ru_ref) }}
{{ promise('%s-firmware-update.py' % ru_ref) }}
promise = check_command_execute
name = firmware-update-promise.py
config-command = [ -f ${directory:etc}/is_firmware_updated ]
#name = firmware-update-promise.py XXX needed ?
config-command = [ -f ${directory:etc}/{{ru_ref}}.is_firmware_updated ]
{#- notifications from RU -#}
......
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