Clamp MTU in TripleO instances
Due to bug 1270646 using the default MTU is an utter fail performance wise. Change-Id: Ic9bd9e431a9790a992f8c3146f3e2b659240679b
This commit is contained in:
parent
aedcb63865
commit
c0bf424833
@ -18,5 +18,7 @@
|
||||
|
||||
HOSTNAME=$1
|
||||
|
||||
# Workaround bug 1270646 during node bootstrapping.
|
||||
sudo ip link set mtu 1458 dev eth0
|
||||
./prepare_node.sh $HOSTNAME
|
||||
sudo -u jenkins -i /opt/nodepool-scripts/prepare_tripleo.sh $HOSTNAME
|
||||
|
@ -52,6 +52,11 @@ EOF
|
||||
# Note that we don't bring it up during prepare - it's only needed to run
|
||||
# tests.
|
||||
|
||||
# Workaround bug 1270646 for actual slaves
|
||||
sudo dd of=/etc/network/interfaces.d/eth0.cfg oflag=append conv=notrunc << EOF
|
||||
post-up ip link set mtu 1458 dev eth0
|
||||
EOF
|
||||
|
||||
# We'll want something like this for triplo when we do dependencies
|
||||
#
|
||||
#. /etc/lsb-release
|
||||
|
Loading…
Reference in New Issue
Block a user