Fix Raid Status for cloud

This commit is contained in:
Mike Reeves
2021-09-09 10:46:28 -04:00
committed by GitHub
parent 03b45512fa
commit 5d235e932c

View File

@@ -20,6 +20,10 @@
appliance_check() { appliance_check() {
{%- if salt['grains.get']('sosmodel', '') %} {%- if salt['grains.get']('sosmodel', '') %}
APPLIANCE=1 APPLIANCE=1
{%- if grains['sosmodel'] in ['SO2AMI01', 'SO2GCI01', 'SO2AZI01'] %}
echo "nsmraid=0" > /opt/so/log/raid/status.log
exit 0
{%- endif %}
DUDEYOUGOTADELL=$(dmidecode |grep Dell) DUDEYOUGOTADELL=$(dmidecode |grep Dell)
if [[ -n $DUDEYOUGOTADELL ]]; then if [[ -n $DUDEYOUGOTADELL ]]; then
APPTYPE=dell APPTYPE=dell