Jonathon Anderson
fd8de8bfab
Add WWbool.BoolDefaultTrue()
...
New support in WWbool for booleans that default "true."
Used primarily for NetDev.OnBoot.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-20 01:41:10 -07:00
Jonathon Anderson
2e1466fc7e
Fix handling of CIDR values in warewulf.conf
...
- Fixes : #1541
- Fixes : #1594
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-06 20:46:20 -07:00
Jonathon Anderson
89721c6832
Remove warewulf.conf:syslog
...
- Fixes : #1606
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 21:58:39 -07:00
Jonathon Anderson
51f61f93c4
Refactor kernel args as a slice
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:52:58 -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
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
dae8d004b3
Use Node literal in MergeNode, not EmptyNode()
...
EmptyNode populates empty sub-structs, which interferes with omitempty during
serialization.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-18 09:48:26 -07:00
Jonathon Anderson
717241aa18
Add methods to config.New().Paths for site and distribution overlays
...
- SiteOverlaySourcedir() uses WWOverlaydir (/var/lib/warewulf/overlays)
- DistributionOverlaySourcedir() uses Datadir (/usr/share/warewulf/overlays)
- config.New().Warewulf.DataStore moved to config.New().Paths.Datadir
- FindOverlays() ignores missing distribution overlay directory
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-20 11:12:47 +01:00
Jonathon Anderson
a844379bc5
Merge --kerneloverride into --kernelversion
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-09 10:02:28 +01:00
Jonathon Anderson
bb5d1d17ed
Revert NetDevs.Manual back to NetDevs.OnBoot
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-17 23:00:57 -04:00
Christian Goll
0c6e7cc58a
fixes for split overlays
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:39:54 -04:00
Christian Goll
9fdb9ca792
updated overlays
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:54 -04: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
Jonathon Anderson
a164498aa5
Documentation for SSH key type configuration
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-05-01 14:27:39 -06:00
Jonathon Anderson
ab881dbb37
Add Overlay variable to debug template
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-04-17 21:40:36 -06:00
Jonathon Anderson
6cc13455f6
Move overlays to rootfs and and set ownership
...
Move all overlay contents to a rootfs subdirectory, which was already
supported, and set ownership to root:root.
Closes #1078
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-02-17 10:39:06 -07:00