diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-07 09:03:14 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-07 09:03:14 +0800 |
commit | aed9b965c6333766cf35594408fe6a9002ff6eb8 (patch) | |
tree | ee8be7b8ebd14e93f425a35ad97310fe870e38e6 /mgr/docker/instance_init.sh | |
parent | d816d444383c73862535c89483c01e0d125a722c (diff) |
Fix docker scripts of gvnfm-vnfmgr
Use db scripts in gvnfm-vnfres
Change-Id: Icdee02e9999a77899e08b607319a936ecdf29faf
Issue-Id: VFC-300
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'mgr/docker/instance_init.sh')
-rwxr-xr-x | mgr/docker/instance_init.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mgr/docker/instance_init.sh b/mgr/docker/instance_init.sh index 0be5e8f..90f0810 100755 --- a/mgr/docker/instance_init.sh +++ b/mgr/docker/instance_init.sh @@ -10,9 +10,8 @@ function start_mysql { } function create_database { - cd /service/vfc/gvnfm/vnfmgr/mgr/docker - mysql -uroot -proot < createdb.sql - mysql -uroot -proot < createobj.sql + cd /service/bin + bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1 cd /service } |