mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix mysql
This commit is contained in:
@@ -618,7 +618,7 @@ get_main_ip() {
|
|||||||
else
|
else
|
||||||
MAINIP=$(ip route get 1 | awk '{print $NF;exit}')
|
MAINIP=$(ip route get 1 | awk '{print $NF;exit}')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAININT=$(ip route get 1 | awk '{print $5;exit}')
|
MAININT=$(ip route get 1 | awk '{print $5;exit}')
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1210,7 +1210,7 @@ salt_install_mysql_deps() {
|
|||||||
yum -y install mariadb-devel
|
yum -y install mariadb-devel
|
||||||
elif [ $OS == 'ubuntu' ]; then
|
elif [ $OS == 'ubuntu' ]; then
|
||||||
if [ $OSVER != "xenial" ]; then
|
if [ $OSVER != "xenial" ]; then
|
||||||
apt-get -y install python3-mysql >> $SETUPLOG 2>&1
|
apt-get -y install python3-mysqldb >> $SETUPLOG 2>&1
|
||||||
else
|
else
|
||||||
apt-get -y install python-mysqldb
|
apt-get -y install python-mysqldb
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user