diff options
-rw-r--r-- | os_net_config/impl_eni.py | 2 |
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): |