Setup Script - Break Questions out per type

This commit is contained in:
Mike Reeves
2018-03-22 15:51:26 -04:00
parent 6b696c548b
commit 922fd4b6a8

View File

@@ -337,6 +337,19 @@ if (whiptail_you_sure) then
# What kind of install are we doing?
whiptail_install_type
if [ $INSTALLTYPE == 'MASTERONLY']; then
whiptail_management_nic
whiptail_nids
whiptail_rule_setup
# Get the code if it isn't ET Open
if [ $RULESETUP != 'ETOPEN' ]; then
# Get the code
whiptail_oinkcode
fi
fi
# Configure NICs for boxes that will be running a sensor
if [ $INSTALLTYPE != 'MASTERONLY' ] || [ $INSTALLTYPE != 'STORAGENODE' ]; then