From 68aa437c6f29b02a9f072195c0034642fedbed0f Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 6 Feb 2018 12:52:57 -0500 Subject: [PATCH] Change to default to Mikes-MBP.geekempire.ky --- so-setup-network.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index b46d6e587..a9bf837c1 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -194,7 +194,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in echo " role: so-master" >> /etc/salt/grains # Set up the minion to talk to itself - echo "master: localhost" > /etc/salt/minion + echo "master: $HOSTNAME" > /etc/salt/minion # Copy the master config over cp files/master /etc/salt/master @@ -202,8 +202,8 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in # chown -R socore:socore /etc/salt # Start salt master and minion - service salt-master start - service salt-minion start + service salt-master restart + service salt-minion restart # Create the pillar touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls