From 5d235e932c02a2f3b06771c42c09e73cf5fc080b Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 9 Sep 2021 10:46:28 -0400 Subject: [PATCH] Fix Raid Status for cloud --- salt/common/tools/sbin/so-raid-status | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salt/common/tools/sbin/so-raid-status b/salt/common/tools/sbin/so-raid-status index e817554d3..54c2b3024 100755 --- a/salt/common/tools/sbin/so-raid-status +++ b/salt/common/tools/sbin/so-raid-status @@ -20,6 +20,10 @@ appliance_check() { {%- if salt['grains.get']('sosmodel', '') %} 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) if [[ -n $DUDEYOUGOTADELL ]]; then APPTYPE=dell