Browse Source

add master option for bond slaves

tags/2017.4
Marek Celoud 7 years ago
parent
commit
f0864a0945
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/network/interface.sls

+ 3
- 0
linux/network/interface.sls View File

@@ -133,6 +133,9 @@ linux_interface_{{ interface_name }}:
{%- else %}
- proto: {{ interface.get('proto', 'dhcp') }}
{%- endif %}
{%- if interface.type == 'slave' %}
- master: {{ interface.master }}
{%- endif %}
{%- if interface.name_servers is defined %}
- dns: {{ interface.name_servers }}
{%- endif %}

Loading…
Cancel
Save