bundles/nfs-client: introduce
This commit is contained in:
parent
21da0a7b80
commit
6a8768fb2f
5 changed files with 93 additions and 5 deletions
6
bundles/nfs-client/files/nfs.automount
Normal file
6
bundles/nfs-client/files/nfs.automount
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Automount ${mount} on access
|
||||
|
||||
[Automount]
|
||||
Where=${mountpoint}
|
||||
TimeoutIdleSec=5min
|
14
bundles/nfs-client/files/nfs.mount
Normal file
14
bundles/nfs-client/files/nfs.mount
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Mount ${mount}
|
||||
|
||||
After=network.target
|
||||
|
||||
|
||||
[Mount]
|
||||
What=${serverpath}
|
||||
Where=${mountpoint}
|
||||
Type=nfs
|
||||
Options=${','.join(sorted(mount_options))}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue