Class: VagrantPlugins::Boot2docker::Guest

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-boot2docker/guest.rb

Instance Method Summary collapse

Instance Method Details

#detect?(machine) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/vagrant-boot2docker/guest.rb', line 4

def detect?(machine)
	machine.communicate.test("test -f /etc/boot2docker")
end