From f529cd42e61295d29f9db723b551ec45a2eca2a8 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 6 Feb 2018 13:04:03 -0500 Subject: [PATCH] Fix the grain statement --- so-setup-network.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index a9bf837c1..87d88f05f 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -159,8 +159,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in # Create the grains file for the sensor touch /etc/salt/grains - echo "grains:" > /etc/salt/grains - echo " role: so-sensor" >> /etc/salt/grains + echo "role: so-sensor" >> /etc/salt/grains # Start the salt agent service salt-minion start @@ -190,8 +189,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in # Create the grains file for the Master touch /etc/salt/grains - echo "grains:" > /etc/salt/grains - echo " role: so-master" >> /etc/salt/grains + echo "role: so-master" >> /etc/salt/grains # Set up the minion to talk to itself echo "master: $HOSTNAME" > /etc/salt/minion