Skip to content

Commit 71f5cfe

Browse files
author
OpenShift Bot
authored
Merge pull request #13231 from dcbw/sdn-preserve-var-lib-cni
Merged by openshift-bot
2 parents 3e26eed + b0711a5 commit 71f5cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/systemd/containerized/origin-node.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PartOf=docker.service
88
[Service]
99
EnvironmentFile=/etc/sysconfig/origin-node
1010
ExecStartPre=-/usr/bin/docker rm -f origin-node
11-
ExecStart=/usr/bin/docker run --name origin-node --rm --privileged --net=host --pid=host --env-file=/etc/sysconfig/origin-node -v /:/rootfs:ro -v /etc/systemd/system:/host-etc/systemd/system -v /etc/localtime:/etc/localtime:ro -v /etc/machine-id:/etc/machine-id:ro -v /lib/modules:/lib/modules -v /run:/run -v /sys:/sys:rw -v /var/lib/docker:/var/lib/docker -v /etc/origin/node:/etc/origin/node -v /etc/origin/openvswitch:/etc/openvswitch -v /etc/origin/sdn:/etc/openshift-sdn -v /var/lib/origin:/var/lib/origin:rslave -v /var/log:/var/log -v /dev:/dev -e HOST=/rootfs -e HOST_ETC=/host-etc openshift/node
11+
ExecStart=/usr/bin/docker run --name origin-node --rm --privileged --net=host --pid=host --env-file=/etc/sysconfig/origin-node -v /:/rootfs:ro -v /etc/systemd/system:/host-etc/systemd/system -v /etc/localtime:/etc/localtime:ro -v /etc/machine-id:/etc/machine-id:ro -v /lib/modules:/lib/modules -v /run:/run -v /sys:/sys:rw -v /var/lib/docker:/var/lib/docker -v /etc/origin/node:/etc/origin/node -v /etc/origin/openvswitch:/etc/openvswitch -v /etc/origin/sdn:/etc/openshift-sdn -v /var/lib/cni:/var/lib/cni -v /var/lib/origin:/var/lib/origin:rslave -v /var/log:/var/log -v /dev:/dev -e HOST=/rootfs -e HOST_ETC=/host-etc openshift/node
1212
ExecStartPost=/usr/bin/sleep 10
1313
ExecStop=/usr/bin/docker stop origin-node
1414
Restart=always

0 commit comments

Comments
 (0)