tmatilai/vagrant-proxyconf

Docker proxy config doesn't work on CoreOS 1465.6.0

rlenskij opened this issue · 2 comments

When running vagrant with CoreOS (latest stable), it fails at

comm.sudo("sed -e 's/\\[Service\\]/[Service]\\n#{env_file}/g' #{src_file} > #{tmp_file}")

It seems that the src_file is pointed to a file that doesn't exist.

src_file = '/usr/lib/systemd/system/docker.service'

Looks likesrc_file needs to point to /run/systemd/system/docker.service instead.

In case it helps this is another possible location. Not yet fully familiar with the spec and coreOS, so HTH?

hypriot/cluster-lab@1b6fa31

Without tests, I'm not comfortable merging in changes into the code base. Also, since this could be CoreOS version specific I'm not sure there is an easy fix. I've personally never used CoreOS so I cannot say for certain what the correct solution is.