openstack-ansible/tests/roles/bootstrap-host/templates/suse_interface_default.cfg.j2
Markos Chandras 19d04fc15d tests: bootstrap-host: Add ability to configure networking on SUSE
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
2017-08-24 18:25:55 +01:00

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'