Jonathon Anderson
fce3bc8aff
Release v4.6.0rc1
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-29 04:03:29 -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
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
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
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
Timothy Middelkoop
64084a471b
Add Devcontainer support
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2025-01-24 20:25:00 +00: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
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
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
Christian Goll
847d11611b
creating exports from resource
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-01-16 23:00:37 -07:00
Christian Goll
c3833b5ba0
Merge pull request #1631 from ResearchIT/dracut-curl-retry
...
adding retry to curl in wwinit dracut module
2025-01-17 14:32:30 +01:00
Shane Nehring
e1b3a65129
adding change to CHANGELOG.md
...
Signed-off-by: Shane Nehring <snehring@iastate.edu >
2025-01-15 14:56:09 -06:00
Christian Goll
455d9b65e4
Fix panic ObjectIsEmpty for bool
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-01-15 13:34:45 +01:00
Christian Goll
16269abf62
Merge pull request #1621 from ssimpson89/update-dnsmasq
...
Update dnsmasq Documentation
2025-01-13 08:49:08 +01:00
Stephen Simpson
71d02f0f07
Update dnsmasq Documentation
...
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com >
2025-01-10 17:06:10 -06:00
Jonathon Anderson
1a3b9a16ed
Add wwctl container <exec|shell> --build=false
...
- Closes #1490
- Closes #1489
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-08 20:37:29 +01:00
Jonathon Anderson
7e742b0d8a
Fix DelProfile to operate on profiles, not nodes.
...
- Fixes : #1622
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-27 05:58:46 -07:00
Jonathon Anderson
83af6021c0
Recast Profiles as a Profile field and support recursion
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-25 09:10:05 -07:00
Jonathon Anderson
c244adc7f6
Performance improvements for overlay build
...
Rendering overlay templates requires fetching and populating / merging all
other nodes, because overlay templates have access to all cluster node info.
This was previously being done for each template render, but is not being done
once for each render operation and re-used for each template render.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-25 08:48:14 -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
53e5805fbe
Remove os.Umask from overlay.BuildOverlayIndir
...
Adds tests to ensure that the overlay image contains the correct permissions.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-25 08:48:14 -07:00
Jonathon Anderson
74616f578d
Improve syncuser conflict help text
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-08 15:50:45 +01:00
Christian Goll
f1e587eb23
Merge pull request #1613 from anderbubble/remove-setdefault
...
Remove `wwctl overlay <build|import> --setdefault`
2025-01-08 15:45:10 +01:00
Jonathon Anderson
170f055c20
Log cpio errors more prominently
...
Previously, cpio output would only be shown as a debug message. Now it is shown
as an error message if cpio returns an error.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-25 00:34:38 -07:00
Stephen Simpson
8af74bdb69
Add machine-id note
...
This note informs that it may be necessary to remove /etc/machine-id for dracut to properly generate. The nodes will fail to boot otherwise
2025-01-03 16:03:55 -06:00
Jonathon Anderson
d0f4eaa9bb
Remove wwctl overlay <build|import> --setdefault
...
- Closes : #1335
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-24 23:14:12 -07: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
Christian Goll
e8f7c01283
Merge pull request #1595 from anderbubble/removeInit
...
Configure nodes.conf dynamically from config
2024-12-20 11:00:27 +01:00
Jonathon Anderson
39707eaccf
Add tests for localtime overlay and make configurable
...
localtime overlay can now be configured with a "localtime" tag.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-17 18:48:00 -07:00
Christian Goll
88016309a9
soft link documentation
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-12-17 18:48:00 -07:00
Jonathon Anderson
a80ba8ee01
Configure nodes.conf path dynamically from config
...
Removes the use of init() to initialize the variable.
- Closes : #1596
- See also: #1569
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-17 11:04:43 -07:00
Ian Kaufman
1d3cb6f153
Add Netplan NIC support for Debian/Ubuntu #1463
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-10 19:41:27 -07:00
Jonathon Anderson
c18bcfe3bd
Support importing containers from directories containing a socket
...
- Fixes #892
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-09 11:19:48 -07:00
Jonathon Anderson
6f4d33b19e
Move wwctl kernel list to wwctl container kernels
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-09 10:02:28 +01:00
Jonathon Anderson
098c288ce2
Provide detected kernel version to overlay templates
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-09 10:02:28 +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
8f21d54243
Refactor kernel support
...
- Remove kernel imports and kmods images
- Repurpose KernelOverride as container path
- Support Kernel.Version as version prefix for kernel selection
- Compare initramfs by version
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-09 10:02:22 +01:00
Christian Goll
d87ed27d8d
Merge pull request #1580 from anderbubble/runc-1.1.14
...
Update github.com/opencontainers/runc to 1.1.14
2024-12-09 09:35:46 +01:00
Christian Goll
477a7c39da
Merge pull request #1579 from anderbubble/known-issues
...
Initial documentation for "known issues"
2024-12-04 21:14:17 +01:00
Jonathon Anderson
8f02e932a4
Update github.com/opencontainers/runc to 1.1.14
...
Addresses https://github.com/warewulf/warewulf/security/dependabot/64
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-03 22:17:38 -07:00
dependabot[bot]
396a3c6030
Bump github.com/golang/glog from 1.2.0 to 1.2.3
...
Bumps [github.com/golang/glog](https://github.com/golang/glog ) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/golang/glog/releases )
- [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.3 )
---
updated-dependencies:
- dependency-name: github.com/golang/glog
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 17:16:09 -07:00
dependabot[bot]
c6f5f58d02
Bump github.com/Masterminds/sprig/v3 from 3.2.3 to 3.3.0
...
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig ) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/Masterminds/sprig/releases )
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.3...v3.3.0 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 17:01:41 -07:00
Jonathon Anderson
0518af3da2
Initial documentation for "known issues"
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-03 16:24:32 -07:00
Christian Goll
d584c14403
Merge pull request #1564 from anderbubble/issues/1447
...
Use a sentinel file to determine container readonly state
2024-12-02 09:03:02 +01:00
Jonathon Anderson
07f6402520
Use a sentinel file to determine container readonly state. #1447
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-29 10:37:52 -07:00
Christian Goll
ab0eddea53
Merge pull request #1565 from anderbubble/issues/1419
...
Remove wwctl overlay build --host
2024-11-28 08:43:05 +01:00
Jonathon Anderson
e098455f7c
Fix display of profiles in node list
...
- Closes #1496
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-25 11:32:03 +01:00
Jonathon Anderson
eace23802f
Remove wwctl overlay build --host #1419
...
Remove the ability to "build" the host overlay with `wwctl overlay
build`. This also obsoletes the `--nodes` flag, which is also removed.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-24 22:48:19 -07:00