vagrant/plugins/guests/omnios/plugin.rb

26 lines
591 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
2013-05-02 02:02:00 +00:00
module GuestOmniOS
class Plugin < Vagrant.plugin("2")
2013-05-02 02:02:00 +00:00
name "OmniOS guest."
description "OmniOS guest support."
2013-05-02 02:02:00 +00:00
guest("omnios", "solaris") do
require File.expand_path("../guest", __FILE__)
Guest
end
2013-05-02 02:02:00 +00:00
guest_capability("omnios", "change_host_name") do
require_relative "cap/change_host_name"
Cap::ChangeHostName
end
guest_capability("omnios", "mount_nfs_folder") do
require_relative "cap/mount_nfs_folder"
Cap::MountNFSFolder
end
end
end
end