Sha256: 2e2235090a09e2b13190b772a59f17043582a130dfb849f9d91ff9bf072d236c

Contents?: true

Size: 1.48 KB

Versions: 10

Compression:

Stored size: 1.48 KB

Contents

require "vagrant"

module VagrantPlugins
  module HostLinux
    class Plugin < Vagrant.plugin("2")
      name "Linux host"
      description "Linux host support."

      host("linux") do
        require_relative "host"
        Host
      end

      host_capability("linux", "isofs_available") do
        require_relative "cap/fs_iso"
        Cap::FsISO
      end

      host_capability("linux", "create_iso") do
        require_relative "cap/fs_iso"
        Cap::FsISO
      end

      host_capability("linux", "nfs_export") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_installed") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_prune") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "rdp_client") do
        require_relative "cap/rdp"
        Cap::RDP
      end

      # Linux-specific helpers we need to determine paths that can
      # be overridden.
      host_capability("linux", "nfs_apply_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_check_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_start_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "set_ssh_key_permissions") do
        require_relative "cap/ssh"
        Cap::SSH
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/hosts/linux/plugin.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.3.3.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.3.2.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.19.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.18.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.16.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.14.0 plugins/hosts/linux/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.10.0 plugins/hosts/linux/plugin.rb