SO Setup - Add whiptail item to set updates on non masters

This commit is contained in:
Mike Reeves
2018-09-12 19:52:37 -04:00
parent 7f15dfc10d
commit 74fe12434e
+3 -1
View File
@@ -606,7 +606,7 @@ set_node_type() {
} }
set_updates() { set_updates() {
echo "MASTERUPDATES is $MASTERUPDATES"
if [ $MASTERUPDATES == 'MASTER' ]; then if [ $MASTERUPDATES == 'MASTER' ]; then
if [ $OS == 'centos' ]; then if [ $OS == 'centos' ]; then
echo "proxy=http://$MSRV:3142" >> /etc/yum.conf echo "proxy=http://$MSRV:3142" >> /etc/yum.conf
@@ -1043,6 +1043,7 @@ if (whiptail_you_sure); then
filter_nics filter_nics
whiptail_bond_nics whiptail_bond_nics
whiptail_management_server whiptail_management_server
whiptail_master_updates
set_updates set_updates
whiptail_nids whiptail_nids
whiptail_sensor_config whiptail_sensor_config
@@ -1100,6 +1101,7 @@ if (whiptail_you_sure); then
if [ $INSTALLTYPE == 'STORAGENODE' ] || [ $INSTALLTYPE == 'PARSINGNODE' ] || [ $INSTALLTYPE == 'HOTNODE' ] || [ $INSTALLTYPE == 'WARMNODE' ]; then if [ $INSTALLTYPE == 'STORAGENODE' ] || [ $INSTALLTYPE == 'PARSINGNODE' ] || [ $INSTALLTYPE == 'HOTNODE' ] || [ $INSTALLTYPE == 'WARMNODE' ]; then
whiptail_management_nic whiptail_management_nic
whiptail_management_server whiptail_management_server
whiptail_master_updates
set_updates set_updates
es_heapsize es_heapsize
ls_heapsize ls_heapsize