Add NFS exports file; Improve syntax

This commit is contained in:
Jeff 2023-06-09 12:14:16 -04:00
parent 42d9f150d9
commit 015e795e64

View File

@ -37,6 +37,10 @@ systemd:
[Install]
WantedBy=multi-user.targetstorage:
storage:
files:
- path: /etc/exports
contents:
inline: /storage-0 192.168.1.*(rw,sync)
disks:
- device: /dev/disk/by-id/nvme-WD_Blue_SN570_500GB_22400V806157
wipe_table: true
@ -47,21 +51,22 @@ storage:
label: swap
filesystems:
- path: /var
label: var
device: /dev/disk/by-partlabel/var
format: btrfs
wipe_filesystem: true
label: var
wipe_filesystem: false
with_mount_unit: true
- path: /swap
label: swap
device: /dev/disk/by-partlabel/swap
format: swap
wipe_filesystem: true
with_mount_unit: true
- path: /storage-0
label: storage-0
device: /dev/disk/by-partlabel/storage-0
format: btrfs
wipe_filesystem: false
label: storage-0
with_mount_unit: true
luks:
- name: static-key