lay down a systemd dropin instead of the /run/flannel_docker_opts.env symlink

This commit is contained in:
Spencer Smith
2016-08-30 09:17:41 -07:00
parent 7ac7fc33a7
commit b74c2f89f0
2 changed files with 9 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
[Service]
Environment="DOCKER_OPTS=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}"