X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/67c2aceb91955ff583c41807759d203a4478e4b1..3944d4a4eb4d96ca5e747739f4967f590672d4e4:/cookbooks/networking/templates/default/interfaces.erb diff --git a/cookbooks/networking/templates/default/interfaces.erb b/cookbooks/networking/templates/default/interfaces.erb index 2344c1f9d..7ffd456de 100644 --- a/cookbooks/networking/templates/default/interfaces.erb +++ b/cookbooks/networking/templates/default/interfaces.erb @@ -48,6 +48,9 @@ iface <%= interface[:interface] %> <%= interface[:family] %> static bond-slaves none bond-primary <%= interface[:bond][:slaves].first %> bond-miimon <%= interface[:bond][:miimon] || 100 %> +<% if interface[:bond][:xmithashpolicy] -%> + bond_xmit_hash_policy <%= interface[:bond][:xmithashpolicy] %> +<% end -%> bond-downdelay <%= interface[:bond][:downdelay] || 200 %> bond-updelay <%= interface[:bond][:updelay] || 200 %> <% end -%>