Merge pull request #7630 from kamazee/fix_detecting_nfsd
Detect NFS server by service name on Arch
This commit is contained in:
commit
78118e4bd6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue