Setup Script - Ubuntu bond beginnings

This commit is contained in:
Mike Reeves
2018-04-03 14:32:37 -04:00
parent 8680033b97
commit 1c8dbc4a67

View File

@@ -130,8 +130,13 @@ create_bond() {
# Create Bond files # Create Bond files
else else
echo bonding >> /etc/modules apt-get install ifenslave
echo "bonding" >> /etc/modules
modprobe bonding 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 fi
} }
@@ -603,7 +608,6 @@ if (whiptail_you_sure) then
create_bond create_bond
saltify saltify
configure_minion sensors configure_minion sensors
copy_ssh_key
copy_minion_pillar SENSORONLY copy_minion_pillar SENSORONLY
fi fi