vagrant/plugins/guests/solaris/guest.rb

15 lines
345 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)
machine.communicate.test("uname -s | grep SunOS")
end
end
end
end