provisioners/docker: fix linux cap for daemon running
This commit is contained in:
parent
88683221f4
commit
8a9bbdb71a
|
@ -3,6 +3,8 @@
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
|
||||||
- command/rsync-auto: Works properly on Windows.
|
- command/rsync-auto: Works properly on Windows.
|
||||||
|
- guests/linux: Fix test for Docker provisioner whether Docker is
|
||||||
|
running.
|
||||||
|
|
||||||
## 1.5.3 (April 14, 2014)
|
## 1.5.3 (April 14, 2014)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
||||||
module Linux
|
module Linux
|
||||||
module DockerDaemonRunning
|
module DockerDaemonRunning
|
||||||
def self.docker_daemon_running(machine)
|
def self.docker_daemon_running(machine)
|
||||||
machine.communicate.test("test -f /var/run/docker/pid")
|
machine.communicate.test("test -f /var/run/docker.pid")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue