diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-08 15:13:25 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-08 15:13:25 +0800 |
commit | be8a3ac8d84b2bffd32d5d5e5f2609706e93d33d (patch) | |
tree | 5280f77cc1821cd054c6248191a7be0b49d61060 /lcm/docker/instance_init.sh | |
parent | 5e0b0a3a63ce9c70b3486cd6e5cd38e072f7c3e0 (diff) |
Remove DB and redis service from vnflcm
Change-Id: I83f9bc8b0ccaaaad1f04a9590c1bfba43ce5be51
Issue-ID: VFC-979
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/docker/instance_init.sh')
-rwxr-xr-x | lcm/docker/instance_init.sh | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/lcm/docker/instance_init.sh b/lcm/docker/instance_init.sh index 2764a07a..cfc9b0d5 100755 --- a/lcm/docker/instance_init.sh +++ b/lcm/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/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." |