summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorRohan Parulekar <rohan.s.parulekar@nuagenetworks.net>2017-08-30 10:41:53 -0700
committerRohan Parulekar <rohan.s.parulekar@nuagenetworks.net>2017-09-20 11:14:01 -0700
commita468322fda65e49e0ef337d482945b6c5dd40270 (patch)
treebf068684c54b47b9279c06c375295e6ba95f033d /roles/openshift_node/templates
parentf28398ca6e44b03055a84223cb7b03c081b3a4ea (diff)
downloadopenshift-a468322fda65e49e0ef337d482945b6c5dd40270.tar.gz
openshift-a468322fda65e49e0ef337d482945b6c5dd40270.tar.bz2
openshift-a468322fda65e49e0ef337d482945b6c5dd40270.tar.xz
openshift-a468322fda65e49e0ef337d482945b6c5dd40270.zip
Changes for Nuage atomic ansible install
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/openshift.docker.node.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/openshift.docker.node.service b/roles/openshift_node/templates/openshift.docker.node.service
index 4ab10b95f..310d8b29d 100644
--- a/roles/openshift_node/templates/openshift.docker.node.service
+++ b/roles/openshift_node/templates/openshift.docker.node.service
@@ -34,6 +34,7 @@ ExecStart=/usr/bin/docker run --name {{ openshift.common.service_type }}-node \
-v /lib/modules:/lib/modules -v /etc/origin/openvswitch:/etc/openvswitch \
-v /etc/origin/sdn:/etc/openshift-sdn -v /var/lib/cni:/var/lib/cni \
-v /etc/systemd/system:/host-etc/systemd/system -v /var/log:/var/log \
+ {% if openshift_use_nuage | default(false) -%} $NUAGE_ADDTL_BIND_MOUNTS {% endif -%} \
-v /dev:/dev $DOCKER_ADDTL_BIND_MOUNTS -v /etc/pki:/etc/pki:ro \
{% if l_bind_docker_reg_auth %} -v {{ oreg_auth_credentials_path }}:/root/.docker:ro{% endif %}\
{{ openshift.node.node_image }}:${IMAGE_VERSION}