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
This commit is contained in:
Daniel Speichert 2017-10-17 14:31:27 -04:00
parent 3db1db689a
commit e43304f3df
3 changed files with 0 additions and 9 deletions

View File

@ -7,9 +7,6 @@ iface {{ lxc_net_bridge }} inet static
{% if lxc_net_gateway is not none %}
gateway {{ lxc_net_gateway }}
{% endif %}
{% if lxc_net_mtu is defined %}
mtu {{ lxc_net_mtu }}
{% endif %}
{% if lxc_net_nat | bool %}
# dnsmasq start and stop
{% if lxc_net_manage_iptables | bool %}

View File

@ -7,9 +7,6 @@ NETMASK={{ lxc_net_netmask }}
{% if lxc_net_gateway is not none %}
GATEWAY={{ lxc_net_gateway }}
{% endif %}
{% if lxc_net_mtu is defined %}
MTU={{ lxc_net_mtu }}
{% endif %}
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no

View File

@ -3,9 +3,6 @@
BRIDGE='yes'
IPADDR={{ lxc_net_address }}
NETMASK={{ lxc_net_netmask }}
{% if lxc_net_mtu is defined %}
MTU={{ lxc_net_mtu }}
{% endif %}
BOOTPROTO=static
STARTMODE=auto
BRIDGE_STP='off'