mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix variable nbame for iso install
This commit is contained in:
@@ -252,7 +252,7 @@ configure_minion() {
|
|||||||
copy_master_config() {
|
copy_master_config() {
|
||||||
|
|
||||||
# Copy the master config template to the proper directory
|
# Copy the master config template to the proper directory
|
||||||
if [ $ISOINSTALL == '1' ]; then
|
if [ $INSTALLMETHOD =='iso' ]; then
|
||||||
cp /root/SecurityOnion/files/master /etc/salt/master
|
cp /root/SecurityOnion/files/master /etc/salt/master
|
||||||
else
|
else
|
||||||
cp ../files/master /etc/salt/master
|
cp ../files/master /etc/salt/master
|
||||||
@@ -1059,11 +1059,11 @@ salt_master_directories() {
|
|||||||
mkdir -p /opt/so/saltstack/pillar
|
mkdir -p /opt/so/saltstack/pillar
|
||||||
|
|
||||||
# Copy over the salt code and templates
|
# Copy over the salt code and templates
|
||||||
if [ $ISOINSTALL == '1' ]; then
|
if [ $INSTALLMETHOD =='iso' ]; then
|
||||||
cp /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
cp /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
||||||
cp /root/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
cp /root/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
||||||
else
|
else
|
||||||
# if ISO /root/SecurityOnion/blah
|
|
||||||
cp -R ../pillar/* /opt/so/saltstack/pillar/
|
cp -R ../pillar/* /opt/so/saltstack/pillar/
|
||||||
cp -R ../salt/* /opt/so/saltstack/salt/
|
cp -R ../salt/* /opt/so/saltstack/salt/
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user