Merge pull request #6367 from knixeur/fix-host-slackware
Fix Slackware Host detection and nfsd checks
This commit is contained in:
commit
fe36131549
|
@ -3,7 +3,7 @@ module VagrantPlugins
|
|||
module Cap
|
||||
class NFS
|
||||
def self.nfs_check_command(env)
|
||||
"pidof nfsd >/dev/null"
|
||||
"/sbin/pidof nfsd >/dev/null"
|
||||
end
|
||||
|
||||
def self.nfs_start_command(env)
|
||||
|
|
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
|||
module HostSlackware
|
||||
class Host < Vagrant.plugin("2", :host)
|
||||
def detect?(env)
|
||||
return File.exists?("/etc/slackware-release") ||
|
||||
return File.exists?("/etc/slackware-version") ||
|
||||
!Dir.glob("/usr/lib/setup/Plamo-*").empty?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue