Browse Source

Add new elements for pppoe

tags/v0.1
root 10 years ago
parent
commit
beee68827e
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      network/interfaces.sls

+ 5
- 2
network/interfaces.sls View File

@@ -39,8 +39,11 @@ network-{{ n.name }}:
{% if n.user is defined %}
- user: {{ n.user }}
{% endif %}
{% if n.pass is defined %}
- pass: {{ n.pass }}
{% if n.password is defined %}
- password: {{ n.password }}
{% endif %}
{% if n.pppoe_iface is defined %}
- pppoe_iface: {{ n.pppoe_iface }}
{% endif %}
{% if n.type|default(datamap.interfaces.default_values.type) == 'vlan' and datamap.interfaces.vlan_pkg|default('vlan') %}
{% do pkgs.append(datamap.interfaces.vlan_pkg|default('vlan')) %}

Loading…
Cancel
Save