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