mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Add bridge for RHEL{5,6} to jinja templates
This commit is contained in:
parent
0195b360a1
commit
565122888d
@ -11,6 +11,7 @@ DEVICE={{name}}
|
|||||||
{%endif%}{% if gateway %}GATEWAY={{gateway}}
|
{%endif%}{% if gateway %}GATEWAY={{gateway}}
|
||||||
{%endif%}{% if srcaddr %}SRCADDR={{srcaddr}}
|
{%endif%}{% if srcaddr %}SRCADDR={{srcaddr}}
|
||||||
{%endif%}{% if peerdns %}PEERDNS={{peerdns}}
|
{%endif%}{% if peerdns %}PEERDNS={{peerdns}}
|
||||||
|
{%endif%}{% if bridge %}BRIDGE={{bridge}}
|
||||||
{%endif%}{%if bonding %}BONDING_OPTS="{%for item in bonding %}{{item}}={{bonding[item]}} {%endfor%}"
|
{%endif%}{%if bonding %}BONDING_OPTS="{%for item in bonding %}{{item}}={{bonding[item]}} {%endfor%}"
|
||||||
{%endif%}{% if ethtool %}ETHTOOL_OPTS="{%for item in ethtool %}{{item}} {{ethtool[item]}} {%endfor%}"
|
{%endif%}{% if ethtool %}ETHTOOL_OPTS="{%for item in ethtool %}{{item}} {{ethtool[item]}} {%endfor%}"
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
@ -11,6 +11,7 @@ DEVICE="{{name}}"
|
|||||||
{%endif%}{% if gateway %}GATEWAY="{{gateway}}"
|
{%endif%}{% if gateway %}GATEWAY="{{gateway}}"
|
||||||
{%endif%}{% if srcaddr %}SRCADDR="{{srcaddr}}"
|
{%endif%}{% if srcaddr %}SRCADDR="{{srcaddr}}"
|
||||||
{%endif%}{% if peerdns %}PEERDNS="{{peerdns}}"
|
{%endif%}{% if peerdns %}PEERDNS="{{peerdns}}"
|
||||||
|
{%endif%}{% if bridge %}BRIDGE="{{bridge}}"
|
||||||
{%endif%}{%if bonding %}BONDING_OPTS="{%for item in bonding %}{{item}}={{bonding[item]}} {%endfor%}"
|
{%endif%}{%if bonding %}BONDING_OPTS="{%for item in bonding %}{{item}}={{bonding[item]}} {%endfor%}"
|
||||||
{%endif%}{% if ethtool %}ETHTOOL_OPTS="{%for item in ethtool %}{{item}} {{ethtool[item]}} {%endfor%}"
|
{%endif%}{% if ethtool %}ETHTOOL_OPTS="{%for item in ethtool %}{{item}} {{ethtool[item]}} {%endfor%}"
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
Loading…
Reference in New Issue
Block a user