mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Activate 18.04
This commit is contained in:
@@ -351,8 +351,6 @@ detect_os() {
|
|||||||
OS=ubuntu
|
OS=ubuntu
|
||||||
if grep -q "UBUNTU_CODENAME=bionic" /etc/os-release; then
|
if grep -q "UBUNTU_CODENAME=bionic" /etc/os-release; then
|
||||||
OSVER=bionic
|
OSVER=bionic
|
||||||
echo "We currently don't support Ubuntu $OSVER but we are working on it!"
|
|
||||||
exit
|
|
||||||
elif grep -q "UBUNTU_CODENAME=xenial" /etc/os-release; then
|
elif grep -q "UBUNTU_CODENAME=xenial" /etc/os-release; then
|
||||||
OSVER=xenial
|
OSVER=xenial
|
||||||
else
|
else
|
||||||
@@ -1152,8 +1150,8 @@ salt_master_directories() {
|
|||||||
|
|
||||||
# Copy over the salt code and templates
|
# Copy over the salt code and templates
|
||||||
if [ $INSTALLMETHOD == 'iso' ]; then
|
if [ $INSTALLMETHOD == 'iso' ]; then
|
||||||
cp -R /home/onion/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
rsync -avh --exclude 'TRANS.TBL' /home/onion/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
||||||
cp -R /home/onion/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
rsync -avh --exclude 'TRANS.TBL' /home/onion/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
||||||
else
|
else
|
||||||
cp -R $SCRIPTDIR/../pillar/* /opt/so/saltstack/pillar/
|
cp -R $SCRIPTDIR/../pillar/* /opt/so/saltstack/pillar/
|
||||||
cp -R $SCRIPTDIR/../salt/* /opt/so/saltstack/salt/
|
cp -R $SCRIPTDIR/../salt/* /opt/so/saltstack/salt/
|
||||||
|
|||||||
Reference in New Issue
Block a user