vagrant/plugins/guests/omnios/guest.rb

12 lines
233 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
2013-05-02 02:02:00 +00:00
module GuestOmniOS
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
2013-05-02 02:02:00 +00:00
machine.communicate.test("cat /etc/release | grep -i OmniOS")
end
end
end
end