Commit a1ec8695 authored by Andrea Spadaccini's avatar Andrea Spadaccini
Browse files

Preserve bridge MTU in KVM ifup script

Closes: #201 - KVM_IFUP does not set bridge-MTU on tap devices
Signed-off-by: default avatarAndrea Spadaccini <>
Reviewed-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent a080bab8
......@@ -36,6 +36,8 @@ fi
ip link set $INTERFACE up
if [ "$MODE" = "bridged" ]; then
ip link set $INTERFACE mtu $(</sys/class/net/${BRIDGE}/mtu)
# Connect the interface to the bridge
brctl addif $BRIDGE $INTERFACE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment