diff --git a/setup/so-functions b/setup/so-functions index 77d0bf236..02900b999 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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