20 lines
400 B
Ruby
20 lines
400 B
Ruby
module VagrantPlugins
|
|
module HostSUSE
|
|
module Cap
|
|
class NFS
|
|
def self.nfs_installed(env)
|
|
system("rpm -q nfs-kernel-server > /dev/null 2>&1")
|
|
end
|
|
|
|
def self.nfs_check_command(env)
|
|
"/sbin/service nfsserver status"
|
|
end
|
|
|
|
def self.nfs_start_command(env)
|
|
"/sbin/service nfsserver start"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|