
Add ability to configure networking on SUSE. Moreover, since the ifup/ifdown network scripts are not destro specific, we rename them and use them for SUSE as well. Change-Id: I59c16e050b4774b88c397e404f82c176482a3b1f
9 lines
231 B
Django/Jinja
9 lines
231 B
Django/Jinja
{% if item.veth_peer is defined %}
|
|
# This interface has a veth peer
|
|
{% endif %}
|
|
BRIDGE='yes'
|
|
IPADDR={{ item.ip_addr | default('10.1.0.1') }}
|
|
NETMASK={{ item.netmask | default('255.255.255.0') }}
|
|
STARTMODE='auto'
|
|
BOOTPROTO='static'
|