nfs: sections are now already commented-out

master
Y 2019-05-20 19:31:54 +02:00
parent 7f6725225f
commit 7c8fe270b4
1 changed files with 4 additions and 8 deletions

View File

@ -78,9 +78,8 @@
path: /etc/nfs.conf path: /etc/nfs.conf
marker: '# {mark} nfsd' marker: '# {mark} nfsd'
block: | block: |
[nfsd]
port=2049 port=2049
insertbefore: '^#\[nfsd\]' insertafter: '^\[nfsd\]'
notify: notify:
- restart nfs-server.service - restart nfs-server.service
@ -89,10 +88,9 @@
path: /etc/nfs.conf path: /etc/nfs.conf
marker: '# {mark} statd' marker: '# {mark} statd'
block: | block: |
[statd]
port=2050 port=2050
outgoing-port=2051 outgoing-port=2051
insertbefore: '^#\[statd\]' insertafter: '^\[statd\]'
notify: notify:
- restart nfs-server.service - restart nfs-server.service
@ -101,9 +99,8 @@
path: /etc/nfs.conf path: /etc/nfs.conf
marker: '# {mark} mountd' marker: '# {mark} mountd'
block: | block: |
[mountd]
port=2052 port=2052
insertbefore: '^#\[mountd\]' insertafter: '^\[mountd\]'
notify: notify:
- restart nfs-server.service - restart nfs-server.service
@ -112,10 +109,9 @@
path: /etc/nfs.conf path: /etc/nfs.conf
marker: '# {mark} lockd' marker: '# {mark} lockd'
block: | block: |
[lockd]
port=2053 port=2053
udp-port=2053 udp-port=2053
insertbefore: '^#\[lockd\]' insertafter: '^\[lockd\]'
notify: notify:
- restart nfs-server.service - restart nfs-server.service