Class: VagrantPlugins::GuestNetBSD::Guest

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

Instance Method Summary collapse

Instance Method Details

#detect?(machine) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/vagrant-guest-netbsd/guest.rb', line 6

def detect?(machine)
  machine.communicate.test("uname -s | grep 'NetBSD'")
end