Commit c1ec624b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d498430c
......@@ -28,7 +28,7 @@ md5sum = 98a2c30d4372a84e42175d590c9d0720
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum = 0584e174481fbdb406301a475a0417d0
md5sum = 4a3285aa83ca0708d18d9650b0a1bf73
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
......
......@@ -54,7 +54,7 @@ config-testing = {{ slapparameter_dict.get("testing", False) }}
{#- split slapos tap interface for each RU that needs its own tap.
fallback to non-split approach for ntap <= 1 to avoid hard-dependecy on setcap/tapsplit #}
{%- set ntap = len([iru_dict|dictsort | selectattr('1._.cpri_link._tap')]) %}
{%- set ntap = len(list(iru_dict | selectattr('1._.cpri_link', 'defined'))) %}
[vtap]
recipe = plone.recipe.command
ntap = {{ ntap }}
......
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