Code Review
/
vfc
/
nfvo
/
lcm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Modify the database in the swagger
[vfc/nfvo/lcm.git]
/
docker
/
instance_init.sh
1
#!/bin/bash
2
3
function start_redis_server {
4
redis-server &
5
}
6
7
function start_mysql {
8
service mysql start
9
sleep 1
10
}
11
12
function create_database {
13
cd /service/vfc/nfvo/lcm/resources/bin
14
bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1
15
cd /service
16
}
17
18
start_redis_server
19
start_mysql
20
create_database