mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix ISO install
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user