From: garciadeblas Date: Fri, 21 Apr 2017 10:50:51 +0000 (+0200) Subject: Installing mano_vim_db using the script from the right location X-Git-Tag: v2.0.0~20^2~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F1625%2F1;p=osm%2FRO.git Installing mano_vim_db using the script from the right location Change-Id: Iba1432a49f7542c29d189d19c00fc03d1069c019 Signed-off-by: garciadeblas --- diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 3c47712d..2382f58e 100755 --- a/scripts/install-openmano.sh +++ b/scripts/install-openmano.sh @@ -251,6 +251,7 @@ su $SUDO_USER -c "git -C ${OPENMANO_BASEFOLDER} clone ${GIT_OVIM_URL} openvim" [ "$_DISTRO" == "Ubuntu" ] && install_packages "libmysqlclient-dev" [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "libmysqlclient-dev" #TODO check if that's the name in CentOS and RedHat make -C ${OPENMANO_BASEFOLDER}/openvim lite +OSMLIBOVIM_PATH=`python -c 'import lib_osm_openvim; print lib_osm_openvim.__path__[0]' if [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] then @@ -343,7 +344,7 @@ echo ' ##### CREATE AND INIT MANO_VIM DATABASE ##### #################################################################' # Install mano_vim_db after setup - ${OPENMANO_BASEFOLDER}/openvim/database_utils/install-db-server.sh -U $DBUSER ${DBPASSWD_PARAM/p/P} -u mano -p manopw -d mano_vim_db || exit 1 + ${OSMLIBOVIM_PATH}/database_utils/install-db-server.sh -U $DBUSER ${DBPASSWD_PARAM/p/P} -u mano -p manopw -d mano_vim_db || exit 1 fi