If guests have the following capabilities, automatic NFS client installation will be done: * nfs_client_installed - Checks if the NFS client is installed * nfs_client_install - Install the NFS client Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
12 lines
228 B
Ruby
12 lines
228 B
Ruby
module VagrantPlugins
|
|
module GuestLinux
|
|
module Cap
|
|
class NFSClient
|
|
def self.nfs_client_installed(machine)
|
|
machine.communicate.test("test -x /sbin/mount.nfs")
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|