Merge pull request #7630 from kamazee/fix_detecting_nfsd

Detect NFS server by service name on Arch
This commit is contained in:
Seth Vargo 2016-07-23 15:15:44 -04:00 committed by GitHub
commit 78118e4bd6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
end
def self.nfs_installed(environment)
Kernel.system("grep -Fq nfsd /proc/filesystems")
Kernel.system("systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep --fixed-strings --quiet nfs-server.service")
end
end
end