This commit is contained in:
jonas 2021-10-24 13:26:33 +02:00
parent 6579883226
commit d11cfdd1be
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
Install NFS server packages:
pkg.installed:
- pkgs:
- nfs-kernel-server
- yast2-nfs-common
- yast2-nfs-server
Create exports structure:
file.recurse:
- name: /srv/exports
- source: salt://nfs-server/files/exports
- user: root
- group: users
- file_mode: "0600"
- include_empty: True
- makedirs: True
- dir_modes: "0755"
Start nfs-server:
service.running:
- name: nfsserver
- enable: True

View File

@ -16,3 +16,4 @@ base:
- remote-desktop
- wol
- tlu-harvester
- nfs-server