mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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
|
elif [ "$install_type" = 'IMPORT' ]; then
|
||||||
is_import=true
|
is_import=true
|
||||||
elif [ "$install_type" = 'ANALYST' ]; then
|
elif [ "$install_type" = 'ANALYST' ]; then
|
||||||
cd .. || exit 255
|
is_analyst=true
|
||||||
./so-analyst-install
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Say yes to the dress if its an ISO install
|
# 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 "$@"
|
exec bash /root/manager_setup/securityonion/setup/so-setup "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $is_analyst ]]; then
|
||||||
|
cd .. || exit 255
|
||||||
|
exec bash so-analyst-install
|
||||||
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
rm -rf /root/install_opt >> "$setup_log" 2>&1
|
rm -rf /root/install_opt >> "$setup_log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user