Sha256: fe13ed4e72ae8b595b33474d6a5adc1fdedea9d2791de9fe946bf553575c83ae

Contents?: true

Size: 880 Bytes

Versions: 1

Compression:

Stored size: 880 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module GuestOpenBSD
    class Plugin < Vagrant.plugin("2")
      name "OpenBSD guest"
      description "OpenBSD guest support."

      %w{openbsd openbsd_v2}.each do |os|
        guest(os) do
          require_relative "guest"
          Guest
        end

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

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

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

        guest_capability(os, "mount_nfs_folder") do
          require_relative "cap/mount_nfs_folder"
          Cap::MountNFSFolder
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-guests-openbsd-0.0.3 lib/vagrant-guests-openbsd/plugin.rb