From 3b61536776c84945e6364a962d5c5baf1edf7afe Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 29 May 2020 17:30:20 +0100 Subject: [PATCH] Bond all the interfaces on stormfly-{03,04} --- roles/stormfly-03.rb | 9 ++++++--- roles/stormfly-04.rb | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/roles/stormfly-03.rb b/roles/stormfly-03.rb index 75359b155..2543d2274 100644 --- a/roles/stormfly-03.rb +++ b/roles/stormfly-03.rb @@ -8,13 +8,16 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet, - :address => "140.211.167.99" + :address => "140.211.167.99", + :bond => { + :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50] + } }, :external_ipv6 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet6, :address => "2605:bc80:3010:700::8cd3:a763" diff --git a/roles/stormfly-04.rb b/roles/stormfly-04.rb index f280803b9..7850adf16 100644 --- a/roles/stormfly-04.rb +++ b/roles/stormfly-04.rb @@ -8,13 +8,16 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet, - :address => "140.211.167.100" + :address => "140.211.167.100", + :bond => { + :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50] + } }, :external_ipv6 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet6, :address => "2605:bc80:3010:700::8cd3:a764" -- 2.39.5