Update Darwin guest description
This commit is contained in:
parent
78ec8b5809
commit
8b925e6c15
|
@ -2,9 +2,10 @@ require 'vagrant/util/template_renderer'
|
||||||
|
|
||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module GuestDarwin
|
module GuestDarwin
|
||||||
# A general Vagrant system implementation for "freebsd".
|
# A general Vagrant system implementation for OS X (ie. "Darwin").
|
||||||
#
|
#
|
||||||
# Contributed by Kenneth Vestergaard <kvs@binarysolutions.dk>
|
# Contributed by: - Brian Johnson <b2jrock@gmail.com>
|
||||||
|
# - Tim Sutton <tim@synthist.net>
|
||||||
class Guest < Vagrant.plugin("2", :guest)
|
class Guest < Vagrant.plugin("2", :guest)
|
||||||
def detect?(machine)
|
def detect?(machine)
|
||||||
machine.communicate.test("uname -s | grep 'Darwin'")
|
machine.communicate.test("uname -s | grep 'Darwin'")
|
||||||
|
|
Loading…
Reference in New Issue