Fix bridge templates

The context variable `bridges` is a dictionary, not a list.
master
LEdoian 3 years ago
parent 48a6ece522
commit 11c5674b20

@ -1,3 +1,3 @@
{% for b in bridges %}
{% for b in bridges.values() %}
allow {{ b.name }}
{% endfor %}

@ -2,7 +2,7 @@
# Run as root.
{% for b in bridges %}
{% for b in bridges.values() %}
ip link add name {{ b.name }} type bridge
ip link set {{ b.name }} up
{% endfor %}

Loading…
Cancel
Save