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:
parent
3db1db689a
commit
e43304f3df
@ -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 %}
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user