Merge pull request #11221 from Security-Onion-Solutions/issue/10975

iso desktop join grid - set install_type and minion_type
This commit is contained in:
Josh Patterson
2023-08-30 16:50:46 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -1269,7 +1269,7 @@ get_redirect() {
get_minion_type() {
local minion_type
case "$install_type" in
'EVAL' | 'MANAGERSEARCH' | 'MANAGER' | 'SENSOR' | 'HEAVYNODE' | 'SEARCHNODE' | 'FLEET' | 'IDH' | 'STANDALONE' | 'IMPORT' | 'RECEIVER')
'EVAL' | 'MANAGERSEARCH' | 'MANAGER' | 'SENSOR' | 'HEAVYNODE' | 'SEARCHNODE' | 'FLEET' | 'IDH' | 'STANDALONE' | 'IMPORT' | 'RECEIVER' | 'DESKTOP')
minion_type=$(echo "$install_type" | tr '[:upper:]' '[:lower:]')
;;
esac

View File

@@ -104,6 +104,7 @@ if [ "$setup_type" = 'desktop' ]; then
# Check to see if this is an ISO. Usually this dir on exists on ISO installs.
if [ -d /root/SecurityOnion ]; then
is_desktop_iso=true
install_type='DESKTOP'
fi
fi