mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix the grain statement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user