summaryrefslogtreecommitdiff
path: root/community/vagrant/nfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/vagrant/nfs.patch')
-rw-r--r--community/vagrant/nfs.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/vagrant/nfs.patch b/community/vagrant/nfs.patch
new file mode 100644
index 000000000..13eddf8ad
--- /dev/null
+++ b/community/vagrant/nfs.patch
@@ -0,0 +1,20 @@
+--- plugins/hosts/arch/cap/nfs.rb.orig 2014-07-23 21:02:12.794095252 +0100
++++ plugins/hosts/arch/cap/nfs.rb 2014-07-23 21:06:54.738384725 +0100
+@@ -4,7 +4,7 @@
+ class NFS
+ def self.nfs_check_command(env)
+ if systemd?
+- return "/usr/sbin/systemctl status nfsd"
++ return "/usr/sbin/systemctl status nfs-server"
+ else
+ return "/etc/rc.d/nfs-server status"
+ end
+@@ -12,7 +12,7 @@
+
+ def self.nfs_start_command(env)
+ if systemd?
+- return "/usr/sbin/systemctl start nfsd rpc-idmapd rpc-mountd rpcbind"
++ return "/usr/sbin/systemctl start nfs-server nfs-idmapd nfs-mountd rpcbind"
+ else
+ return "sh -c 'for s in {rpcbind,nfs-common,nfs-server}; do /etc/rc.d/$s start; done'"
+ end