2013-07-11 01:21:06 +00:00
|
|
|
require 'vagrant/util/template_renderer'
|
|
|
|
|
|
|
|
module VagrantPlugins
|
2013-08-01 01:07:04 +00:00
|
|
|
module GuestDarwin
|
2013-08-06 14:18:12 +00:00
|
|
|
# A general Vagrant system implementation for OS X (ie. "Darwin").
|
2013-07-11 01:21:06 +00:00
|
|
|
#
|
2013-08-06 14:18:12 +00:00
|
|
|
# Contributed by: - Brian Johnson <b2jrock@gmail.com>
|
|
|
|
# - Tim Sutton <tim@synthist.net>
|
2013-07-11 01:21:06 +00:00
|
|
|
class Guest < Vagrant.plugin("2", :guest)
|
|
|
|
def detect?(machine)
|
|
|
|
machine.communicate.test("uname -s | grep 'Darwin'")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|