]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/interfaces.erb
Add role for ladon
[chef.git] / cookbooks / networking / templates / default / interfaces.erb
index 2344c1f9d0e3c372082add2dccda507532d7d087..7ffd456deceabb306291c13b100851e29c00a416 100644 (file)
@@ -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 -%>