Recommended changes from review of #1568
- Make Resources an `interface{}` to support arbitrary yaml
- Remove `wwctl resource` as incompatible with arbitrary yaml
- Revert changes to host overlay templates
- Remove NFS mount options from warewulf.conf
- Replace NFS support / resource prefix with "fstab" resource
- Move resources to profiles
- Migrate warewulf.conf mounts to nodes.conf with `wwctl upgrade`
- Add documentation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -102,8 +102,21 @@ interface configuration should handle this dynamically.)
|
||||
fstab
|
||||
-----
|
||||
|
||||
The **fstab** overlay configures ``/etc/fstab`` to mount NFS shares defined in
|
||||
``/etc/warewulf.conf`` and file systems created by Ignition.
|
||||
The **fstab** overlay configures ``/etc/fstab`` based on the data provided in the "fstab"
|
||||
resource. It also creates entries for file systems defined by Ignition.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
nodeprofiles:
|
||||
default:
|
||||
resources:
|
||||
fstab:
|
||||
- spec: warewulf:/home
|
||||
file: /home
|
||||
vfstype: nfs
|
||||
- spec: warewulf:/opt
|
||||
file: /opt
|
||||
vfstype: nfs
|
||||
|
||||
ssh
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user