Jonathon Anderson
e47e66fe39
Merge pull request #1652 from mslacken/slackLink
...
updated slack link
2025-01-31 15:17:50 -07:00
Christian Goll
1c48c178f6
updated slack link
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-01-30 01:39:46 -07:00
Jonathon Anderson
fce3bc8aff
Release v4.6.0rc1
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-29 04:03:29 -07:00
Jonathon Anderson
b00abc2877
Merge pull request #1659 from anderbubble/warewulfd-overlays-and-http
...
Added warewulfd:/overlay-file/{overlay}/{path...}?render={nodeID}
2025-01-29 13:33:56 -07:00
Christian Goll
755411d3cb
Added warewulfd:/overlay-file/{overlay}/{path...}?render={nodeID}
...
Co-authored-by: Jonathon Anderson <janderson@ciq.com >
Signed-off-by: Christian Goll <cgoll@suse.com >
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-29 00:08:30 -07:00
Jonathon Anderson
0d81f2e521
Merge pull request #1656 from anderbubble/kernel-args-slice
...
Refactor kernel args as a slice
2025-01-27 20:47:10 -07:00
Jonathon Anderson
60991141e1
Merge pull request #1638 from anderbubble/documentation
...
Omnibus PR for documentation issues for v4.6.0
2025-01-27 20:39:38 -07:00
Xu YANG
ba9fb3c273
Merge pull request #1649 from anderbubble/images-directory
...
Change image provision directory to "images"
2025-01-28 09:27:29 +09:00
Jonathon Anderson
284a87f27c
Merge pull request #1653 from MiddelkoopT/tm-devcontainer
...
Add Dev Container support
2025-01-24 13:34:37 -07:00
Timothy Middelkoop
64084a471b
Add Devcontainer support
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2025-01-24 20:25:00 +00:00
Christian Goll
bdaaf903be
Merge pull request #1630 from ResearchIT/ipxe-dracut-iface-config
...
have dracut explicitly configure defined interfaces
2025-01-24 17:05:52 +01:00
Shane Nehring
6bad4ed8d1
have dracut explicitly configure defined interfaces
...
Signed-off-by: Shane Nehring <snehring@iastate.edu >
2025-01-24 10:04:37 -06:00
Xu YANG
93157d5813
Merge pull request #1633 from anderbubble/fix-node-edit
...
Refactor and fix wwctl <node|profile> edit
2025-01-24 15:06:58 +09:00
Xu YANG
86d09902d3
Merge pull request #1648 from anderbubble/issue-newline
...
Fix newline handling in /etc/issue
2025-01-24 14:50:57 +09:00
Jonathon Anderson
adf5c500f0
Merge pull request #1647 from anderbubble/enhanced-field-formatting
...
Enhancements for node.Field formatting
2025-01-23 21:51:54 -07:00
Jonathon Anderson
d6d1e37c83
Merge pull request #1641 from anderbubble/rename-container-node-image
...
Rename "container" to "image"
2025-01-23 21:45:41 -07:00
Xu YANG
55c2f155b3
Merge pull request #1644 from anderbubble/vscode-recommendations
...
Linting fixes called-out by vscode
2025-01-24 08:55:47 +09:00
Xu YANG
0400a21e85
Merge pull request #1645 from anderbubble/remove-upgrade-printf
...
Remove a vestigial printf from wwctl upgrade
2025-01-24 08:53:28 +09:00
Christian Goll
102deb3e43
Merge pull request #1643 from anderbubble/node-profile-expand
...
Expand nodes when rendering overlay templates
2025-01-23 21:02:16 +01:00
Jonathon Anderson
96396ed47e
Merge pull request #1642 from anderbubble/fix-upgrade-nfs-client
...
Fix a null-pointer bug in `wwctl upgrade config`
2025-01-22 20:07:47 -07:00
Jonathon Anderson
2408555748
Merge pull request #1628 from anderbubble/ciq-merge-fixes
...
Fixes for MergeNode handling of NetDevs, Tags, IpmiConf, KernelConf, and net.IP
2025-01-21 22:00:06 -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
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
409b7269a7
Simplify README.md
...
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
53c939608b
Enforce updating license dependencies
...
- Closes : #1148
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
803e65e9c1
Document building images from scratch with Apptainer
...
- Closes #1485
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
65078525eb
Move information about image size limitations to known issues
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
1e6f52df4d
Fix a few minor vestigial references to "containers"
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
26b51ceda7
Move wwctl upgrade documentation to its own page
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
da73fcf4be
Move information about sockets breaking image build to known issues
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
019028cd73
Remove obsolete instructions regarding kernel overrides
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
275ffd7038
update RELEASE.md for current Warewulf branch and release process
...
- Fixes : #1486
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
e6d4077746
Address warnings when building userdocs
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
875106a79b
Include man pages and command reference in userdocs
...
- Closes : #1488
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Christian Goll
ad90874797
Merge pull request #1632 from anderbubble/fix-1629
...
Adjust umask during overlay build
2025-01-21 08:47:42 +01:00
Christian Goll
abc2bd884b
Merge pull request #1568 from mslacken/remoteRes
...
Introduce Resource concept
2025-01-20 11:46:43 +01:00
Jonathon Anderson
ca61494297
Change image provision directory to "images"
...
Previous name (before #1641 ) was "container." New name (from #1641 ) was "image"
but a plural name seems better.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 14:42:45 -07:00
Jonathon Anderson
8e8349ccd0
Fix newline handling in /etc/issue
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 13:58:19 -07:00
Jonathon Anderson
73a8ef8e0e
Refactor wwctl <node|profile> edit and fix bugs
...
`wwctl node edit` appears to not be working properly since MergeNode. This
refactor, partly towards #918 , resolves the issues with `node edit` and updates
`profile edit` to match.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 13:02:18 -07:00
Jonathon Anderson
a8fab3e844
Enhancements for node.Field formatting
...
- Complex values are now marshalled as json
- Booleans are now represented as truth values
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 12:55:19 -07:00
Jonathon Anderson
2e057d3a81
Remove a vestigial printf from wwctl upgrade
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 07:24:45 -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
4be3e6db9f
Linting fixes called-out by vscode
...
A few linting issues that were called out by vscode.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 05:26:43 -07:00
Jonathon Anderson
57d28c5bc9
Expand nodes when rendering overlay templates
...
Before #1628 , all default constructors for nodes and profiles attempted to
construct objects with pre-populated empty fields (e.g., for pointers to member
structs and for collections that default to nil). Changes to MergeNode in #1629
changed this behavior intentionally to simplify the generation of minimal json;
but this had the unintended side-effect of breaking existing templates that may
now encounter a nil pointer, particularly when accessing member structs.
Introduced here, the Expand() methods on Node and Profile are now responsible
for populating such fields, and Node.Expand() is now called during template
processing.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 04:26:01 -07:00
Jonathon Anderson
22657fed36
Fix a null-pointer bug in wwctl upgrade config
...
Also removing some vestigial development-debug output.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 00:35:34 -07:00
Jonathon Anderson
c06f558cf4
fixup! Use Node literal in MergeNode, not EmptyNode()
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-18 10:12:08 -07:00
Jonathon Anderson
b50fb3f3ef
Fix handling of net.IP during node merge
...
Because net.IP is derived from []byte, it was being handled by mergo as a
slice. This adds an additional transformer that handles net.IP specifically,
and also watches for this type in field tracking.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-18 10:07:19 -07:00