Merge branch 'stable-2.6'
[ganeti-local] / tools / kvm-ifup.in
index 4ba17e7..2ff8ccb 100644 (file)
@@ -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
 else