Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbc909 commit bc27217Copy full SHA for bc27217
salt/templates/rh_ip/rh5_eth.jinja
@@ -1,5 +1,6 @@
1
DEVICE={{name}}
2
-{% if addr %}HWADDR={{addr}}
+{%endif%}{% if hwaddr %}HWADDR="{{hwaddr}}"
3
+{%endif%}{% if macaddr %}MACADDR="{{macaddr}}"
4
{%endif%}{% if userctl %}USERCTL={{userctl}}
5
{%endif%}{% if master %}MASTER={{master}}
6
{%endif%}{% if slave %}SLAVE={{slave}}
salt/templates/rh_ip/rh6_eth.jinja
{% if "range" not in name %}DEVICE="{{name}}"
-{%endif%}{% if addr %}HWADDR="{{addr}}"
{%endif%}{% if userctl %}USERCTL="{{userctl}}"
{%endif%}{% if master %}MASTER="{{master}}"
{%endif%}{% if slave %}SLAVE="{{slave}}"
0 commit comments