Update Darwin guest description

This commit is contained in:
Timothy Sutton 2013-08-06 10:18:12 -04:00
parent 78ec8b5809
commit 8b925e6c15
1 changed files with 3 additions and 2 deletions

View File

@ -2,9 +2,10 @@ require 'vagrant/util/template_renderer'
module VagrantPlugins
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)
def detect?(machine)
machine.communicate.test("uname -s | grep 'Darwin'")