Updated RO install to remove old bug fixes that don't apply now 90/1790/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 8 May 2017 16:22:39 +0000 (18:22 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Sat, 8 Jul 2017 20:34:58 +0000 (22:34 +0200)
Change-Id: Id8dca15456a2979ef898cba4329e745dbc0c5e72
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/RO/install

index d2eaf58..a219ae1 100755 (executable)
@@ -38,15 +38,8 @@ apt-get -y install python-osm-ro
 
 OSMLIBOVIM_PATH=`python -c 'import lib_osm_openvim; print lib_osm_openvim.__path__[0]'` || FATAL "lib-osm-openvim was not properly installed"
 OSMRO_PATH=`python -c 'import osm_ro; print osm_ro.__path__[0]'` || FATAL "osm-ro was not properly installed"
-sed -i "s/\${DIRNAME}\/\.\.\/openmanod\ -v/openmanod\ -v/g" /usr/lib/python2.7/dist-packages/osm_ro/database_utils/migrate_mano_db.sh
-systemctl disable osm-ro.service
-sed -i "/User=/d" /etc/systemd/system/osm-ro.service
-sed -i "s/ExecStart=openmanod/ExecStart=\/usr\/bin\/openmanod/" /etc/systemd/system/osm-ro.service
-systemctl enable osm-ro.service
 
-DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-server
-
-${OSMRO_PATH}/database_utils/install-db-server.sh --updatedb --no-install-packages || FATAL "osm-ro db installation failed"
+${OSMRO_PATH}/database_utils/install-db-server.sh --updatedb || FATAL "osm-ro db installation failed"
 ${OSMLIBOVIM_PATH}/database_utils/install-db-server.sh -u mano -p manopw -d mano_vim_db --updatedb || FATAL "lib-osm-openvim db installation failed"
 service osm-ro restart