mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-06 22:44:48 +02:00
Fix Raid Status for cloud
This commit is contained in:
1 parent
03b45512fa
commit
5d235e932c
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user