Merge pull request #1352 from Security-Onion-Solutions/fix/es_templates

fix MYIP
This commit is contained in:
Josh Patterson authored and GitHub committed 2020-09-16 10:12:27 -04:00
commit b7e41b53cb
1 file changed
+1 -1
@@ -1,5 +1,5 @@
{%- set mainint = salt['pillar.get']('host:mainint') %}
{%- set MYIP = salt['grains.get']('ip_interfaces:' ~ mainint[0]) %}
{%- set MYIP = salt['grains.get']('ip_interfaces:' ~ mainint)[0] %}
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019 Security Onion Solutions, LLC