mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
same edit as rh7_eth.jinja
This commit is contained in:
parent
cdbc909ac5
commit
bc27217ddd
@ -1,5 +1,6 @@
|
||||
DEVICE={{name}}
|
||||
{% if addr %}HWADDR={{addr}}
|
||||
{%endif%}{% if hwaddr %}HWADDR="{{hwaddr}}"
|
||||
{%endif%}{% if macaddr %}MACADDR="{{macaddr}}"
|
||||
{%endif%}{% if userctl %}USERCTL={{userctl}}
|
||||
{%endif%}{% if master %}MASTER={{master}}
|
||||
{%endif%}{% if slave %}SLAVE={{slave}}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% if "range" not in name %}DEVICE="{{name}}"
|
||||
{%endif%}{% if addr %}HWADDR="{{addr}}"
|
||||
{%endif%}{% if hwaddr %}HWADDR="{{hwaddr}}"
|
||||
{%endif%}{% if macaddr %}MACADDR="{{macaddr}}"
|
||||
{%endif%}{% if userctl %}USERCTL="{{userctl}}"
|
||||
{%endif%}{% if master %}MASTER="{{master}}"
|
||||
{%endif%}{% if slave %}SLAVE="{{slave}}"
|
||||
|
Loading…
Reference in New Issue
Block a user