aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/impl_eni.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-07-02 15:19:27 -0400
committerDan Prince <dprince@redhat.com>2014-07-02 15:19:27 -0400
commite640b3991ae9243ebeb46dd075ebe96708294c83 (patch)
tree50329b2343c6eccc8929dee2da1f11f30fb32c4a /os_net_config/impl_eni.py
parent9c322bc69df99a59036cfae5e2cca8a12d2710c3 (diff)
Update impl_eni to set the MTU.
Diffstat (limited to 'os_net_config/impl_eni.py')
-rw-r--r--os_net_config/impl_eni.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/os_net_config/impl_eni.py b/os_net_config/impl_eni.py
index 6b88e85..9f43f88 100644
--- a/os_net_config/impl_eni.py
+++ b/os_net_config/impl_eni.py
@@ -111,6 +111,8 @@ class ENINetConfig(os_net_config.NetConfig):
data += "auto %s\n" % interface.name
data += _iface
data += address_data
+ if interface.mtu != 1500:
+ data += " mtu %i\n" % interface.mtu
return data
def addInterface(self, interface):