Commit cfeadb3a authored by Joanne Hugé's avatar Joanne Hugé

ors-amarisoft: use latest available amarisoft version

parent 615b9735
......@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = 61e9685d6aa973ae0c45c45ca357458a
md5sum = b457f582aa7fd5c0773c94bea4b58b49
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
......
......@@ -31,8 +31,8 @@ context =
[amarisoft]
recipe = slapos.recipe.build
init =
import os
lte_version = "2021-09-18"
import os, re
lte_version = sorted(filter(lambda x: re.match(r"v[0-9]{4}-[0-9]{2}-[0-9]{2}", x), os.listdir('/opt/amarisoft')))[-1][1:]
path = "/opt/amarisoft/v" + lte_version
options['lte-version'] = lte_version
options['path'] = 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