projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stable-2.6'
[ganeti-local]
/
tools
/
kvm-ifup.in
diff --git
a/tools/kvm-ifup.in
b/tools/kvm-ifup.in
index
4ba17e7
..
2ff8ccb
100644
(file)
--- a/
tools/kvm-ifup.in
+++ b/
tools/kvm-ifup.in
@@
-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