commit | f0864a09450e0c3c00ee281b4236703c51c8b939 | [log] [tgz] |
---|---|---|
author | Marek Celoud <mceloud@mirantis.com> | Mon Feb 27 16:12:32 2017 +0100 |
committer | Marek Celoud <mceloud@mirantis.com> | Mon Feb 27 16:12:32 2017 +0100 |
tree | 0f1aa81c4f52315b3d8fd684e4ee21acdf73e276 | |
parent | aeb7e6f2f172ff92dba8a2eb9d15b1d9ad96b439 [diff] |
add master option for bond slaves
diff --git a/linux/network/interface.sls b/linux/network/interface.sls index f42cc53..c0f8154 100644 --- a/linux/network/interface.sls +++ b/linux/network/interface.sls
@@ -133,6 +133,9 @@ {%- 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 %}