Sha256: b2358d1cf101fafb308c972e9041ff213ca635a88a4c47116ec8124eb41511ed

Contents?: true

Size: 642 Bytes

Versions: 17

Compression:

Stored size: 642 Bytes

Contents

module VagrantPlugins
  module HostVoid
    module Cap
      class NFS
        def self.nfs_check_command(env)
          "sudo /usr/bin/sv status nfs-server"
        end

        def self.nfs_start_command(env)
          <<-EOF
            /usr/bin/ln -s /etc/sv/statd      /var/service/ && \
            /usr/bin/ln -s /etc/sv/rpcbind    /var/service/ && \
            /usr/bin/ln -s /etc/sv/nfs-server /var/service/
          EOF
        end

        def self.nfs_installed(env)
          result = Vagrant::Util::Subprocess.execute("/usr/bin/xbps-query", "nfs-utils")
          result.exit_code == 0
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

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