mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Updated grain location
This commit is contained in:
@@ -158,7 +158,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
if [ $INSTALLTYPE == 'SENSORONLY' ]; then
|
if [ $INSTALLTYPE == 'SENSORONLY' ]; then
|
||||||
|
|
||||||
# Create the grains file for the sensor
|
# Create the grains file for the sensor
|
||||||
touch /etc/salt/grain
|
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/gains
|
||||||
|
|
||||||
@@ -189,7 +189,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
if [ $INSTALLTYPE == 'MASTERONLY' ]; then
|
if [ $INSTALLTYPE == 'MASTERONLY' ]; then
|
||||||
|
|
||||||
# Create the grains file for the Master
|
# Create the grains file for the Master
|
||||||
touch /etc/salt/grain
|
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/gains
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user