Code Review
/
vfc
/
nfvo
/
driver
/
vnfm
/
svnfm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add log to docker part
[vfc/nfvo/driver/vnfm/svnfm.git]
/
nokia
/
vnfmdriver
/
vfcadaptorservice
/
docker
/
instance-init.sh
diff --git
a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
index
d1be95c
..
96e1145
100755
(executable)
--- a/
nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
+++ b/
nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
#
# Copyright 2017, Nokia Corporation
#
#
# Copyright 2017, Nokia Corporation
#
@@
-18,7
+18,10
@@
function start_mysql {
echo "start mysql ... "
function start_mysql {
echo "start mysql ... "
- service mysql start
+ systemctl start mysql.service > myout_instance_init.file 2>&1
+ cat myout_instance_init.file
+ systemctl status mysql.service > myout_instance_init_mysql_status.file 2>&1
+ cat myout_instance_init_mysql_status.file
sleep 5
}
sleep 5
}