openstack-ansible-lxc_hosts/templates/lxc-net-suse-routes.cfg.j2
Markos Chandras 583337b69b Fix container bridge networking on SUSE
The GATEWAY attribute does not exist on SUSE so we need to add the
default gateway to an ifroute file. Moreover, we drop the DEVICE
attribute which also doesn't exist on SUSE ifcfg files and we add
STARTMODE='auto' to instruct wicked to automatically configure the
interface on every boot. Finally we switch STP to 'off' since there
is only a single bridge accessible from containers.

Change-Id: I9c09e2882614f89cb944a623e7b97298d4bec541
2017-05-08 11:24:12 +01:00

2 lines
30 B
Django/Jinja

default {{ lxc_net_gateway }}