From 0a6f0efdc55a438250c75856b72c9a80db59a59a Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 21 May 2020 09:21:28 -0400 Subject: [PATCH] Sort so-status output alphabetically - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/747 --- salt/common/tools/sbin/so-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status index 29c029623..7a7d6c783 100755 --- a/salt/common/tools/sbin/so-status +++ b/salt/common/tools/sbin/so-status @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . {%- from 'common/maps/so-status.map.jinja' import docker with context %} -{%- set container_list = docker['containers'] %} +{%- set container_list = docker['containers'] | sort %} if ! [ "$(id -u)" = 0 ]; then echo "This command must be run as root"