Sha256: ad4c0691108af2f6047b379e74e90663ad80c4458db99f0c0d57c7fa9b09007b

Contents?: true

Size: 1.27 KB

Versions: 17

Compression:

Stored size: 1.27 KB

Contents

require "vagrant"

module VagrantPlugins
  module GuestBSD
    class Plugin < Vagrant.plugin("2")
      name "BSD-based guest"
      description "BSD-based guest support."

      guest(:bsd) do
        require_relative "guest"
        Guest
      end

      guest_capability(:bsd, :create_tmp_path) do
        require_relative "cap/file_system"
        Cap::FileSystem
      end

      guest_capability(:bsd, :decompress_tgz) do
        require_relative "cap/file_system"
        Cap::FileSystem
      end

      guest_capability(:bsd, :decompress_zip) do
        require_relative "cap/file_system"
        Cap::FileSystem
      end

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

      guest_capability(:bsd, :insert_public_key) do
        require_relative "cap/public_key"
        Cap::PublicKey
      end

      guest_capability(:bsd, :mount_nfs_folder) do
        require_relative "cap/nfs"
        Cap::NFS
      end

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

      guest_capability(:bsd, :remove_public_key) do
        require_relative "cap/public_key"
        Cap::PublicKey
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/guests/bsd/plugin.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.3.3.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.3.2.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.19.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.18.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.16.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.14.0 plugins/guests/bsd/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.10.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.9.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.8.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.7.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.6.2 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.6.1 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.6.0 plugins/guests/bsd/plugin.rb
vagrant-unbundled-2.2.5.0 plugins/guests/bsd/plugin.rb