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
|
||||
MAINIP=$(ip route get 1 | awk '{print $NF;exit}')
|
||||
fi
|
||||
|
||||
|
||||
MAININT=$(ip route get 1 | awk '{print $5;exit}')
|
||||
|
||||
}
|
||||
@@ -1210,7 +1210,7 @@ salt_install_mysql_deps() {
|
||||
yum -y install mariadb-devel
|
||||
elif [ $OS == 'ubuntu' ]; then
|
||||
if [ $OSVER != "xenial" ]; then
|
||||
apt-get -y install python3-mysql >> $SETUPLOG 2>&1
|
||||
apt-get -y install python3-mysqldb >> $SETUPLOG 2>&1
|
||||
else
|
||||
apt-get -y install python-mysqldb
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user