noninteractive mode needed for mysql install
authorMike Marchetti <mmarchetti@sandvine.com>
Wed, 26 Jul 2017 19:20:11 +0000 (15:20 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Thu, 27 Jul 2017 17:56:48 +0000 (13:56 -0400)
Change-Id: I7c9d3bcef8d48e10e985dfb25c72ed76cc4d5f7b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/RO/install

index a219ae1..9eb555c 100755 (executable)
@@ -39,8 +39,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"
 
-${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"
+DEBIAN_FRONTEND=noninteractive ${OSMRO_PATH}/database_utils/install-db-server.sh --updatedb || FATAL "osm-ro db installation failed"
+DEBIAN_FRONTEND=noninteractive ${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
 
 RC=$?