31 lines
680 B
Ruby
31 lines
680 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module GuestOmniOS
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "OmniOS guest."
|
|
description "OmniOS guest support."
|
|
|
|
guest(:omnios, :solaris) do
|
|
require_relative "guest"
|
|
Guest
|
|
end
|
|
|
|
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
|
|
|
|
guest_capability(:omnios, :rsync_install) do
|
|
require_relative "cap/rsync"
|
|
Cap::RSync
|
|
end
|
|
end
|
|
end
|
|
end
|