From 3b75ae19a25647785c81c02129bf12e0ed54e043 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Wed, 8 Aug 2018 16:00:50 +0800 Subject: Remove DB and redis service from vnfres Change-Id: If3b274d442bdde62a225c5fe02116af4f38a0509 Issue-ID: VFC-980 Signed-off-by: fujinhua --- res/docker/instance_init.sh | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'res/docker/instance_init.sh') diff --git a/res/docker/instance_init.sh b/res/docker/instance_init.sh index 11753d9..cfc9b0d 100755 --- a/res/docker/instance_init.sh +++ b/res/docker/instance_init.sh @@ -1,23 +1,2 @@ #!/bin/bash - -function start_redis_server { - redis-server & -} - -function start_mysql { - service mysql start - sleep 1 -} - -function create_database { - cd /service/vfc/gvnfm/vnfres/res/assembly/bin - if [ ! -f dbexist.txt ]; then - echo 1 > dbexist.txt - bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1 - fi - cd /service -} - -start_redis_server -start_mysql -create_database +echo "No service needs init." -- cgit 1.2.3-korg