mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Updated grain location
This commit is contained in:
@@ -160,7 +160,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
# Create the grains file for the sensor
|
# Create the grains file for the sensor
|
||||||
touch /etc/salt/grains
|
touch /etc/salt/grains
|
||||||
echo "grains:" > /etc/salt/grains
|
echo "grains:" > /etc/salt/grains
|
||||||
echo " role: so-sensor" >> /etc/salt/gains
|
echo " role: so-sensor" >> /etc/salt/grains
|
||||||
|
|
||||||
# Start the salt agent
|
# Start the salt agent
|
||||||
service salt-minion start
|
service salt-minion start
|
||||||
@@ -191,7 +191,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
# Create the grains file for the Master
|
# Create the grains file for the Master
|
||||||
touch /etc/salt/grains
|
touch /etc/salt/grains
|
||||||
echo "grains:" > /etc/salt/grains
|
echo "grains:" > /etc/salt/grains
|
||||||
echo " role: so-master" >> /etc/salt/gains
|
echo " role: so-master" >> /etc/salt/grains
|
||||||
|
|
||||||
# Start salt master
|
# Start salt master
|
||||||
service salt-master start
|
service salt-master start
|
||||||
|
|||||||
Reference in New Issue
Block a user