15 lines
351 B
Ruby
15 lines
351 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module GuestSolaris
|
|
# A general Vagrant system implementation for "solaris".
|
|
#
|
|
# Contributed by Blake Irvin <b.irvin@modcloth.com>
|
|
class Guest < Vagrant.plugin("2", :guest)
|
|
def detect?(machine)
|
|
machine.communicate.test("grep 'Solaris' /etc/release")
|
|
end
|
|
end
|
|
end
|
|
end
|