vagrant/plugins/hosts/suse/cap/nfs.rb
oss-core-libraries-dashboard[bot] 73228596f4
[COMPLIANCE] Update Copyright and License Headers (Batch 3 of 7) (#13763)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2025-12-22 16:46:39 +05:30

22 lines
486 B
Ruby

# Copyright IBM Corp. 2010, 2025
# SPDX-License-Identifier: BUSL-1.1
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)
"systemctl status --no-pager nfs-server"
end
def self.nfs_start_command(env)
"systemctl start --no-pager nfs-server"
end
end
end
end
end