mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 01:02:46 +01:00
Multi OS Support
This commit is contained in:
@@ -950,7 +950,7 @@ detect_os() {
|
||||
OSVER=9
|
||||
is_rocky=true
|
||||
is_rpm=true
|
||||
is_supported=true
|
||||
not_supported=true
|
||||
elif grep -q "CentOS Stream release 9" /etc/redhat-release; then
|
||||
OS=centos
|
||||
OSVER=9
|
||||
@@ -1002,13 +1002,6 @@ detect_os() {
|
||||
fi
|
||||
|
||||
info "Found OS: $OS $OSVER"
|
||||
if [[ $is_override ]]; then
|
||||
unset $not_supported
|
||||
fi
|
||||
if [[ $not_supported ]]; then
|
||||
info "This is not a supported OS. Exiting Setup"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user