vagrant/plugins/guests/solaris11/plugin.rb

65 lines
1.6 KiB
Ruby
Raw Normal View History

2013-08-14 14:10:18 +00:00
# A general Vagrant system implementation for "solaris 11".
#
# Contributed by Jan Thomas Moldung <janth@moldung.no>
require "vagrant"
module VagrantPlugins
module GuestSolaris11
class Plugin < Vagrant.plugin("2")
name "Solaris 11 guest."
description "Solaris 11 guest support."
config(:solaris11) do
require_relative "config"
2013-08-14 14:10:18 +00:00
Config
end
guest(:solaris11) do
require_relative "guest"
2013-08-14 14:10:18 +00:00
Guest
end
guest_capability(:solaris11, :change_host_name) do
2013-08-14 14:10:18 +00:00
require_relative "cap/change_host_name"
Cap::ChangeHostName
end
guest_capability(:solaris11, :configure_networks) do
2013-08-14 14:10:18 +00:00
require_relative "cap/configure_networks"
Cap::ConfigureNetworks
end
guest_capability(:solaris11, :halt) do
2013-08-14 14:10:18 +00:00
require_relative "cap/halt"
Cap::Halt
end
guest_capability(:solaris11, :mount_virtualbox_shared_folder) do
2013-08-14 14:10:18 +00:00
require_relative "cap/mount_virtualbox_shared_folder"
Cap::MountVirtualBoxSharedFolder
end
guest_capability(:solaris11, :rsync_installed) do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability(:solaris11, :rsync_pre) do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability(:solaris11, :insert_public_key) do
require_relative "cap/insert_public_key"
Cap::InsertPublicKey
end
guest_capability(:solaris11, :remove_public_key) do
require_relative "cap/remove_public_key"
Cap::RemovePublicKey
end
2013-08-14 14:10:18 +00:00
end
end
end