diff --git a/setup/so-setup b/setup/so-setup index 677e46478..686ae52e6 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -67,6 +67,10 @@ while [[ $# -gt 0 ]]; do esac done +if [[ "$setup_type" == 'iso' ]]; then + is_iso=true +fi + if ! [ -f $install_opt_file ] && [ -d /root/manager_setup/securityonion ] && [[ $(pwd) != /root/manager_setup/securityonion/setup ]]; then exec bash /root/manager_setup/securityonion/setup/so-setup "${original_args[@]}" fi @@ -233,11 +237,6 @@ elif [ "$install_type" = 'ANALYST' ]; then is_analyst=true fi -# Say yes to the dress if its an ISO install -if [[ "$setup_type" == 'iso' ]]; then - is_iso=true -fi - # Check if this is an airgap install if [[ ( $is_manager || $is_import ) && $is_iso ]]; then whiptail_airgap