mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[feat] Run so-analyst-install after network init
This commit is contained in:
@@ -204,9 +204,7 @@ elif [ "$install_type" = 'HELIXSENSOR' ]; then
|
||||
elif [ "$install_type" = 'IMPORT' ]; then
|
||||
is_import=true
|
||||
elif [ "$install_type" = 'ANALYST' ]; then
|
||||
cd .. || exit 255
|
||||
./so-analyst-install
|
||||
exit 0
|
||||
is_analyst=true
|
||||
fi
|
||||
|
||||
# Say yes to the dress if its an ISO install
|
||||
@@ -280,6 +278,11 @@ if ! [ -f /root/install_opt ]; then
|
||||
exec bash /root/manager_setup/securityonion/setup/so-setup "$@"
|
||||
fi
|
||||
|
||||
if [[ $is_analyst ]]; then
|
||||
cd .. || exit 255
|
||||
exec bash so-analyst-install
|
||||
fi
|
||||
|
||||
else
|
||||
rm -rf /root/install_opt >> "$setup_log" 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user