summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver
diff options
context:
space:
mode:
authoryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-24 23:34:11 +0800
committeryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-24 23:34:11 +0800
commitffe75db279d42b49b3ccf4b9ba503fe37133b5bf (patch)
tree9c78794cb878f06227c55056861bba0ac50d58fc /nokia/vnfmdriver
parent28f5cbaaa66556f9cfba00e6f5d9a40339a72a76 (diff)
use centos:7.2.1511
Change-Id: Ia65f8d4faf71158b0ddfdc40f9d05804a269f594 Issue-ID: VFC-544 Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver')
-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
}