Sha256: a43767671ca534a6f0c9238dc6848be695b0bfb213ff9105377aacc25fadb6e3

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

# 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 "Oracle Solaris 11 guest support."

      #config("solaris11") do
      #  require File.expand_path("../config", __FILE__)
      #  Config
      #end

      guest("solaris11")  do
        #require File.expand_path("../guest", __FILE__)
        require_relative "guest"
        Guest
      end

      guest_capability("solaris11", "change_host_name") do
        require_relative "cap/change_host_name"
        Cap::ChangeHostName
      end

      guest_capability("solaris11", "configure_networks") do
        require_relative "cap/configure_networks"
        Cap::ConfigureNetworks
      end

      guest_capability("solaris11", "halt") do
        require_relative "cap/halt"
        Cap::Halt
      end

      guest_capability("solaris11", "mount_virtualbox_shared_folder") do
        require_relative "cap/mount_virtualbox_shared_folder"
        Cap::MountVirtualBoxSharedFolder
      end

      #guest_capability("solaris11", "mount_nfs_folder") do
      #  require_relative "cap/mount_nfs_folder"
      #  Cap::MountNFSFold
      #end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-guests-solaris11-0.0.1a lib/vagrant-guests-solaris11/plugin.rb
vagrant-guests-solaris11-0.0.1.dev lib/vagrant-guests-solaris11/plugin.rb