guests/coreos: fix test for docker daemon running

This commit is contained in:
Mitchell Hashimoto 2014-04-14 17:01:00 -07:00
parent 8a9bbdb71a
commit 0fc7d59222
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
BUG FIXES:
- command/rsync-auto: Works properly on Windows.
- guests/coreos: Fix test for Docker daemon running.
- guests/linux: Fix test for Docker provisioner whether Docker is
running.

View File

@ -3,7 +3,7 @@ module VagrantPlugins
module Cap
module Docker
def self.docker_daemon_running(machine)
machine.communicate.test("test -f /run/docker.sock")
machine.communicate.test("test -S /run/docker.sock")
end
end
end