Fix function for appliances

This commit is contained in:
Mike Reeves
2021-01-25 13:20:46 -05:00
parent b4c8b439a0
commit 2e32b53158

View File

@@ -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