summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorTobias Florek <tob@butter.sh>2016-06-14 15:07:14 +0200
committerTobias Florek <tob@butter.sh>2016-06-14 15:07:14 +0200
commit1960ee8c4db904e7c2d4a9a76d12edf7183894e2 (patch)
treefdca710669b52278c84ba52de2f7c4d6090973da /roles/openshift_node/templates
parentd3a69bbf5e85ebe23fcf26fb3608ff42e68a6713 (diff)
downloadopenshift-1960ee8c4db904e7c2d4a9a76d12edf7183894e2.tar.gz
openshift-1960ee8c4db904e7c2d4a9a76d12edf7183894e2.tar.bz2
openshift-1960ee8c4db904e7c2d4a9a76d12edf7183894e2.tar.xz
openshift-1960ee8c4db904e7c2d4a9a76d12edf7183894e2.zip
also volume-mount /etc/sysconfig/docker
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/openshift.docker.node.dep.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/templates/openshift.docker.node.dep.service b/roles/openshift_node/templates/openshift.docker.node.dep.service
index f66a78479..0fb34cffd 100644
--- a/roles/openshift_node/templates/openshift.docker.node.dep.service
+++ b/roles/openshift_node/templates/openshift.docker.node.dep.service
@@ -6,6 +6,6 @@ Before={{ openshift.common.service_type }}-node.service
[Service]
-ExecStart=/bin/bash -c "if [[ -f /usr/bin/docker-current ]]; then echo \"DOCKER_ADDTL_BIND_MOUNTS=--volume=/usr/bin/docker-current:/usr/bin/docker-current:ro\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; else echo \"#DOCKER_ADDTL_BIND_MOUNTS=\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; fi"
+ExecStart=/bin/bash -c "if [[ -f /usr/bin/docker-current ]]; then echo \"DOCKER_ADDTL_BIND_MOUNTS=--volume=/usr/bin/docker-current:/usr/bin/docker-current:ro --volume=/etc/sysconfig/docker:/etc/sysconfig/docker:ro\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; else echo \"#DOCKER_ADDTL_BIND_MOUNTS=\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; fi"
ExecStop=
SyslogIdentifier={{ openshift.common.service_type }}-node-dep