diff --git a/chef/cookbooks/network/recipes/default.rb b/chef/cookbooks/network/recipes/default.rb index 6db2fc9b02..67e9a93534 100644 --- a/chef/cookbooks/network/recipes/default.rb +++ b/chef/cookbooks/network/recipes/default.rb @@ -301,12 +301,8 @@ def kill_nic(nic) net_ifs << our_iface.name end if network["mtu"] - if ["admin", "storage", "os_sdn"].include? name - Chef::Log.info("Setting mtu #{network['mtu']} for #{name} network on #{our_iface.name}") - ifs[our_iface.name]["mtu"] = network["mtu"] - else - Chef::Log.warn("Setting mtu for #{our_iface.name} network is not supported yet, skipping") - end + Chef::Log.info("Using mtu #{network["mtu"]} for #{network["name"]} network on #{our_iface.name}") + ifs[our_iface.name]["mtu"] = network["mtu"] end # Make sure our addresses are correct if_mapping[name] = net_ifs