From: Tom Hughes Date: Mon, 16 Oct 2017 17:36:06 +0000 (+0100) Subject: Enable network bonding on odin X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/21e8338d3c7baa386a5522870235532daf7d2489?ds=sidebyside Enable network bonding on odin --- diff --git a/roles/odin.rb b/roles/odin.rb index d19360027..dc5a612d3 100644 --- a/roles/odin.rb +++ b/roles/odin.rb @@ -5,15 +5,18 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet, :address => "130.225.254.123", :prefix => "23", - :gateway => "130.225.254.97" + :gateway => "130.225.254.97", + :bond => { + :slaves => %w[eno1 eno2] + } }, :external_ipv6 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet6, :address => "2001:878:346::123",