Add an [Install] section to flanneld's systemd unit.

Fixes coreos/bugs#1102.
This commit is contained in:
David Anderson 2016-01-30 12:14:16 -08:00
parent 7f38711a84
commit d795e6eead
2 changed files with 3 additions and 0 deletions

View File

@ -37,3 +37,6 @@ ExecStart=/usr/libexec/sdnotify-proxy /run/flannel/sd.sock \
ExecStartPost=/usr/bin/docker run --net=host --rm --volume=/run:/run \ ExecStartPost=/usr/bin/docker run --net=host --rm --volume=/run:/run \
${FLANNEL_IMG}:${FLANNEL_VER} \ ${FLANNEL_IMG}:${FLANNEL_VER} \
/opt/bin/mk-docker-opts.sh -d /run/flannel_docker_opts.env -i /opt/bin/mk-docker-opts.sh -d /run/flannel_docker_opts.env -i
[Install]
WantedBy=multi-user.target