From a2546cd7c135e61fd28a3c7b08620112971afa2d Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 25 Feb 2016 19:33:27 +0100 Subject: [PATCH] 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 --- contrib/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/install.sh b/contrib/install.sh index 0046d98..e779e67 100755 --- a/contrib/install.sh +++ b/contrib/install.sh @@ -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