openstack-ansible-lxc_hosts/templates/lxc-net-redhat-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

15 lines
261 B
Django/Jinja

# {{ ansible_managed }}
DEVICE={{ lxc_net_bridge }}
TYPE=Bridge
IPADDR={{ lxc_net_address }}
NETMASK={{ lxc_net_netmask }}
{% if lxc_net_gateway is not none %}
GATEWAY={{ lxc_net_gateway }}
{% endif %}
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
DELAY=0
STP=no