From 1c8dbc4a6726b678399df3938225bb2d64184627 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 3 Apr 2018 14:32:37 -0400 Subject: [PATCH] Setup Script - Ubuntu bond beginnings --- so-setup-network.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index 3fd67910f..7d6948e39 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -130,8 +130,13 @@ create_bond() { # Create Bond files else - echo bonding >> /etc/modules + apt-get install ifenslave + echo "bonding" >> /etc/modules modprobe bonding + echo "auto bond0" >> /etc/network/interfaces + echo "iface bond0 inet static" >> /etc/network/interfaces + echo " bond-mode 0" >> /etc/network/interfaces + echo " bond-slaves ${BNICS[@]}" >> /etc/network/interfaces fi } @@ -603,7 +608,6 @@ if (whiptail_you_sure) then create_bond saltify configure_minion sensors - copy_ssh_key copy_minion_pillar SENSORONLY fi