Merge remote-tracking branch 'origin/2.4/dev' into 2.4/ubuntu

This commit is contained in:
m0duspwnens
2023-04-13 09:10:58 -04:00
10 changed files with 118 additions and 95 deletions

View File

@@ -775,11 +775,12 @@ check_requirements() {
}
check_sos_appliance() {
title "Is this is an SOS Appliance?"
if [ -f "/etc/SOSMODEL" ]; then
local MODEL=$(cat /etc/SOSMODEL)
info "Found SOS Model $MODEL"
echo "sosmodel: $MODEL" >> /etc/salt/grains
local MODEL=$(cat /etc/SOSMODEL)
info "Found SOS Model $MODEL"
echo "sosmodel: $MODEL" >> /etc/salt/grains
else
info "Not an appliance"
fi
}