vagrant/plugins/guests/solaris/guest.rb

15 lines
347 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
module GuestSolaris
# A general Vagrant system implementation for "solaris".
#
# Contributed by Blake Irvin <b.irvin@modcloth.com>
2012-11-07 05:14:45 +00:00
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
2013-04-23 03:29:17 +00:00
machine.communicate.test("uname -o | grep Solaris")
end
end
end
end