We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1db10f commit 0332071Copy full SHA for 0332071
1 file changed
netjsonconfig/backends/airos/templates/airos.jinja2
@@ -1,7 +1,11 @@
1
{% for namespace, block in data.items() %}
2
- {% for element in block %}
3
- {% for k,v in element.items() %}
4
- {{ namespace }}.{{ k }}={{ v }}
+ {% if namespace != 'netmode' %}
+ {% for element in block %}
+ {% for k,v in element.items() %}
5
+ {{ namespace }}.{{ k }}={{ v }}
6
+ {% endfor %}
7
{% endfor %}
- {% endfor %}
8
+ {% else %}
9
+ netmode=bridge
10
+ {% endif %}
11
0 commit comments