summaryrefslogtreecommitdiffstats
path: root/nokia
diff options
context:
space:
mode:
Diffstat (limited to 'nokia')
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile2
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh4
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh4
3 files changed, 5 insertions, 5 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
index 61c19ce8..aed34688 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
@@ -6,7 +6,7 @@
# 10-basebuild.txt
-FROM centos:7
+FROM centos:7.2.1511
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
RUN sed -i 's|#baseurl=http://mirror.centos.org/centos|baseurl=http://mirrors.ocf.berkeley.edu/centos|' /etc/yum.repos.d/*.repo
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
index 124cfd35..90cc15ce 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
@@ -44,9 +44,9 @@ echo
function start_mysql {
echo "start mysql in entry point ... "
- service mysql start > myout_docker_enctrypoint.file 2>&1
+ systemctl start mysql.service > myout_docker_enctrypoint.file 2>&1
cat myout_docker_enctrypoint.file
- service mysql status > myout_docker_enctrypoint_mysql_status.file 2>&1
+ systemctl status mysql.service > myout_docker_enctrypoint_mysql_status.file 2>&1
cat myout_docker_enctrypoint_mysql_status.file
sleep 5
}
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
index 1b55e980..a3c6372e 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
@@ -18,9 +18,9 @@
function start_mysql {
echo "start mysql in instance_init ... "
- service mysql start > myout_instance_init.file 2>&1
+ systemctl start mysql.service > myout_instance_init.file 2>&1
cat myout_instance_init.file
- service mysql status > myout_instance_init_mysql_status.file 2>&1
+ systemctl status mysql.service > myout_instance_init_mysql_status.file 2>&1
cat myout_instance_init_mysql_status.file
sleep 5
}