mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 18:52:52 +01:00
Fix function for appliances
This commit is contained in:
@@ -736,7 +736,7 @@ check_requirements() {
|
|||||||
|
|
||||||
check_sos_appliance() {
|
check_sos_appliance() {
|
||||||
# Lets see if this is a SOS Appliance
|
# Lets see if this is a SOS Appliance
|
||||||
if [ -f "/etc/SOSMODEL"]; then
|
if [ -f "/etc/SOSMODEL" ]; then
|
||||||
local MODEL=$(cat /etc/SOSMODEL)
|
local MODEL=$(cat /etc/SOSMODEL)
|
||||||
echo "Found SOS Model $MODEL"
|
echo "Found SOS Model $MODEL"
|
||||||
echo "sosmodel: $MODEL" >> /etc/salt/grains
|
echo "sosmodel: $MODEL" >> /etc/salt/grains
|
||||||
|
|||||||
Reference in New Issue
Block a user