2014-01-08 05:11:59 +00:00
|
|
|
module VagrantPlugins
|
2014-09-11 08:48:58 +00:00
|
|
|
module HostSUSE
|
2014-01-08 05:11:59 +00:00
|
|
|
module Cap
|
|
|
|
class NFS
|
2014-10-06 14:32:00 +00:00
|
|
|
def self.nfs_installed(env)
|
|
|
|
system("rpm -q nfs-kernel-server > /dev/null 2>&1")
|
|
|
|
end
|
|
|
|
|
2014-01-08 05:11:59 +00:00
|
|
|
def self.nfs_check_command(env)
|
2019-09-18 21:15:08 +00:00
|
|
|
"systemctl status --no-pager nfs-server"
|
2014-01-08 05:11:59 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.nfs_start_command(env)
|
2019-09-18 21:15:08 +00:00
|
|
|
"systemctl start --no-pager nfs-server"
|
2014-01-08 05:11:59 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|