summaryrefslogtreecommitdiff
path: root/community/vagrant/nfs.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-24 03:36:08 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-24 03:36:08 +0000
commitd256eaa80219eb28cbfb4f9474acc6fb41c63d3c (patch)
treed4752710a1a201081be416a2e43ea85947d67140 /community/vagrant/nfs.patch
parentff9e4e102459123bc5bf56965828ebb81081d37f (diff)
Thu Jul 24 03:31:46 UTC 2014
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