diff options
author | 2014-07-02 15:19:27 -0400 | |
---|---|---|
committer | 2014-07-02 15:19:27 -0400 | |
commit | e640b3991ae9243ebeb46dd075ebe96708294c83 (patch) | |
tree | 50329b2343c6eccc8929dee2da1f11f30fb32c4a /os_net_config | |
parent | 9c322bc69df99a59036cfae5e2cca8a12d2710c3 (diff) |
Update impl_eni to set the MTU.
Diffstat (limited to 'os_net_config')
-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): |