From 14a62805310e59d4e16f3b6809fa0d74860edb81 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 30 Aug 2023 16:49:17 -0400 Subject: [PATCH] iso desktop join grid - set install_type and minion_type --- setup/so-functions | 2 +- setup/so-setup | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index eab98b849..4f973d147 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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 diff --git a/setup/so-setup b/setup/so-setup index f6e5c8c4e..cdc7e67d6 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -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