Merge "Correctly support list of string prefixes"
This commit is contained in:
commit
657ca67be1
|
@ -31,6 +31,9 @@ Metric={{ 20 + loop.index }}
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
{% for _addr in _addresses %}
|
{% for _addr in _addresses %}
|
||||||
|
{% if _addr is string %}
|
||||||
|
{% set _addr = {'address': _addr} %}
|
||||||
|
{% endif %}
|
||||||
{% if _addr.address == 'dhcp' %}
|
{% if _addr.address == 'dhcp' %}
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue