openstack-ansible-lxc_hosts/templates/lxc-net-suse-bridge.cfg.j2
Daniel Speichert e43304f3df Stop trying to set MTU on LXC bridge interface
This setting is invalid on the bridge and prevents it
from coming up. The bridge uses the lowest MTU used by
all of its connected ports automatically, so any MTU
configured for LXC containers will be used by the bridge.

Change-Id: I8ba8c43492493c4de46469903f0567b6ca7b509d
Closes-Bug: 1724337
2017-10-19 15:58:51 -04:00

13 lines
306 B
Django/Jinja

# {{ ansible_managed }}
BRIDGE='yes'
IPADDR={{ lxc_net_address }}
NETMASK={{ lxc_net_netmask }}
BOOTPROTO=static
STARTMODE=auto
BRIDGE_STP='off'
# POST_UP script
POST_UP_SCRIPT="compat:suse:ifup-post-{{ lxc_net_bridge }}"
# POST_DOWN script
POST_DOWN_SCRIPT="compat:suse:ifdown-post-{{ lxc_net_bridge }}"