mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Change to default to Mikes-MBP.geekempire.ky
This commit is contained in:
@@ -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
|
echo " role: so-master" >> /etc/salt/grains
|
||||||
|
|
||||||
# Set up the minion to talk to itself
|
# 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
|
# Copy the master config over
|
||||||
cp files/master /etc/salt/master
|
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
|
# chown -R socore:socore /etc/salt
|
||||||
|
|
||||||
# Start salt master and minion
|
# Start salt master and minion
|
||||||
service salt-master start
|
service salt-master restart
|
||||||
service salt-minion start
|
service salt-minion restart
|
||||||
|
|
||||||
# Create the pillar
|
# Create the pillar
|
||||||
touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
|
touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
|
||||||
|
|||||||
Reference in New Issue
Block a user