Install python-mysql/python-mysqldb as a dependency of faafo

When installing on multiple instances python-mysql/python-mysqldb have
to be installed on the faafo nodes itself.

Change-Id: I12c63d212bb0cbab9d020662b4c8453f39a5a454
This commit is contained in:
Christian Berendt 2016-02-25 19:33:27 +01:00
parent e73bb1b555
commit a2546cd7c1
1 changed files with 2 additions and 2 deletions

View File

@ -115,9 +115,9 @@ if [[ -e /etc/os-release ]]; then
if [[ $INSTALL_FAAFO -eq 1 ]]; then
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
sudo apt-get install -y python-dev python-pip supervisor git zlib1g-dev libmysqlclient-dev
sudo apt-get install -y python-dev python-pip supervisor git zlib1g-dev libmysqlclient-dev python-mysqldb
elif [[ $ID = 'fedora' ]]; then
sudo dnf install -y python-devel python-pip supervisor git zlib-devel mariadb-devel gcc which
sudo dnf install -y python-devel python-pip supervisor git zlib-devel mariadb-devel gcc which python-mysql
sudo systemctl enable supervisord
sudo systemctl start supervisord
#elif [[ $ID = 'opensuse' || $ID = 'sles' ]]; then