openstack-ansible-lxc_conta.../templates/suse-interface.j2
Markos Chandras ce700c1fad Add SUSE support
Add support for SUSE based distributions. We also update the bindep.txt,
run_tests.sh, tests-repo-clone.sh and Vagrantfile files from the
openstack-ansible-tests repository.

Change-Id: I9ac018ac1a94dac74a2ef213dccedf95b4272134
2017-05-15 14:04:42 +01:00

14 lines
391 B
Django/Jinja

# {{ ansible_managed }}
### start generated network for [ {{ item.value.interface }} ] ###
STARTMODE=auto
{% if item.value.address is defined %}
BOOTPROTO=static
IPADDR={{ item.value.address }}
NETMASK={{ item.value.netmask }}
{% else %}
BOOTPROTO=dhcp
{% endif %}
MTU={{ item.value.mtu|default(lxc_container_default_mtu) }}
### end generated network for [ {{ item.value.interface }} ] ###