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."
|
|
|
|
|
2017-10-05 18:30:21 +00:00
|
|
|
guest(:solaris11, :solaris) do
|
|
|
|
require_relative "guest"
|
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
config(:solaris11) do
|
|
|
|
require_relative "config"
|
2013-08-14 14:10:18 +00:00
|
|
|
Config
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:solaris11, :change_host_name) do
|
2013-08-14 14:10:18 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:solaris11, :configure_networks) do
|
2013-08-14 14:10:18 +00:00
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|