From 5a5b643155114847f699d087664fe16f5477a826 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 14 Jul 2023 12:04:30 -0400 Subject: [PATCH] Fix ISO install --- setup/so-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 8fae8fa77..6476e32d3 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -86,7 +86,7 @@ fi # Make sure if ISO is specified that we are dealing with CentOS or Rocky title "Detecting if this is an ISO install" if [[ "$setup_type" == 'iso' ]]; then - if [[ $is_centos || $is_rocky ]]; then + if [[ $is_rpm ]]; then is_iso=true else echo "Only use 'so-setup iso' for an ISO install on Security Onion ISO images. Please run 'so-setup network' instead." @@ -99,7 +99,7 @@ if [[ $is_desktop ]]; then title "This is a desktop install" # Make sure it's CentOS or Rocky Linux - if [[ $is_rocky || $is_centos ]]; then + if [[ $is_rpm ]]; then info "Security Onion Desktop is supported on this OS." else info "Security Onion Desktop is not supported on this OS."