Commit Graph

24 Commits

Author SHA1 Message Date
Jonathon Anderson
21333482e6 Omit duplicate passwd and group entries in syncuser overlay
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-11 18:28:47 -07:00
Jonathon Anderson
f71483035b Updated overlay flags
New flags: `wwctl <node|profile> <add|set> [--runtime-overlays|--system-overlays]`.

Previous flags retained hidden for backwards-compatibility.

- Closes: #1495

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-10 19:17:08 -07:00
Jonathon Anderson
c209dadc1f Update network interface bonding configuration and documentation
- Closes: #1482
- Closes: #1280

This also corrects poor handling of whitespace around the "file" function
throughout the templates, given experiences with the network templates while
implementing the bond behavior. Since the file function actually does produce
output (that is parsed by Warewulf itself) it should not collaps prefix
whitespace.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
32081d0917 Document template functions
- Closes: #698

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
ef376e97de Improved template variables debug template and documentation
- Closes #1097

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
48e9de2fc3 Document rootfs in overlays and images
- Closes: #1487

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
45a690ca4e Rename "container" to "image"
- Updated `wwctl upgrade` to handle updates
- Maintained `.Container` and `.ContainerName` in tstruct
- Added `ContainerName()` methods to node and profile objects
- Added `--container`, `-C` aliases to wwctl commands (`<node|profile> <add|set>`)
- Added `wwctl container` alias
- Added support for `container_exit.sh` if `image_exit.sh` is not found

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-19 05:54:19 -07:00
Jonathon Anderson
bc52f3b7d7 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>
2025-01-17 10:33:37 -07:00
Jonathon Anderson
a59403ab3b Parallel overlay builds
- Closes #1018

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-25 08:48:14 -07:00
Jonathon Anderson
4ac0bd22c8 Update userdocs for split overlays
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-20 11:12:47 +01:00
Christian Goll
f65607190e added documentation for site overlays
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-12-20 11:12:46 +01:00
Jonathon Anderson
053dd9953a Split overlays into discrete functionality and test
- Closes #987

To make the overlays testable in isolation, and after discussion with
the TSC, removed host/time/source from overlay files.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:38 -06:00
Tobias Ribizel
22eae7cd90 Remove mentions of eth0
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-09-15 01:30:47 +02:00
griznog
5757162b76 Parallel overlay building examples. 2024-05-23 16:35:27 -07:00
tsingletonacic
3e1982337e Update overlays.rst
Type fix "necessary"
2024-04-10 08:54:56 +02:00
Christian Goll
320c92e55e added example for host specific files
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-08-14 11:38:16 +02:00
Jonathon Anderson
e353d021d5 Add a missing hyphen in a documented flag 2023-02-22 01:12:29 -07:00
Jonathon Anderson
10d1edaf81 Fix accidental userdocs italics
Fixes #702

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:58:00 -07:00
Jonathon Anderson
ad25a4349b Console-style code-block and remove sudo
Closes #703 #695

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:41:09 -07:00
Jonathon Anderson
ef31b3ddb8 Reflow all userdocs text
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:05:36 -07:00
Jonathon Anderson
656eeea2d6 Completed a copy-editing pass of the docUpdate PR
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 22:38:25 -07:00
Christian Goll
466d141cf4 reworded the overlay section 2023-02-16 08:59:31 +01:00
Christian Goll
d614db5110 updated the configuration to match 4.4.0 features
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-02-14 15:48:06 +01:00
Brian Clemens
04ee8cc967 feat(docs): New documentation
Convert docs to mkdocs, move back into repo, publish to repo
2022-09-15 21:00:17 +09:00