2012-02-24 00:58:22 +00:00
|
|
|
require 'vagrant/util/template_renderer'
|
|
|
|
|
2012-04-19 04:03:03 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestFreeBSD
|
2011-01-14 14:12:43 +00:00
|
|
|
# A general Vagrant system implementation for "freebsd".
|
|
|
|
#
|
|
|
|
# Contributed by Kenneth Vestergaard <kvs@binarysolutions.dk>
|
2012-11-07 05:14:45 +00:00
|
|
|
class Guest < Vagrant.plugin("2", :guest)
|
2013-04-04 04:47:57 +00:00
|
|
|
def detect?(machine)
|
2013-04-10 21:15:02 +00:00
|
|
|
machine.communicate.test("uname -s | grep 'FreeBSD'")
|
2013-04-04 04:47:57 +00:00
|
|
|
end
|
2011-01-14 14:12:43 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|