Merge pull request #2721 from Security-Onion-Solutions/sosappliance

Fix function for appliances
This commit is contained in:
Mike Reeves
2021-01-25 13:26:28 -05:00
committed by GitHub

View File

@@ -736,7 +736,7 @@ check_requirements() {
check_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)
echo "Found SOS Model $MODEL"
echo "sosmodel: $MODEL" >> /etc/salt/grains