Commit Graph

650 Commits

Author SHA1 Message Date
Jonathon Anderson
c7fc14c3ae v4.6.5 release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-12 18:37:03 -07:00
jason scott
44223b7449 Reducing number of changes to Changelog (due to linter) 2026-01-08 16:12:14 -07:00
jason scott
4e3b1b6e56 resolving build break in openSUSE 15.x 2026-01-08 16:12:14 -07:00
Jonathon Anderson
61ecbbf70f Fixed changelog entry for new vagrant/libvirt support
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-08 15:36:14 -07:00
Cédric Clerget
23d937ac55 Add CHANGELOG entry 2026-01-08 15:36:14 -07:00
Jonathon Anderson
44eeba13f7 Rename systemd templates in the ignition overlay for clarity
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-06 21:02:15 -07:00
Jonathon Anderson
2355fce629 Prevent ignition from running twice in a provision-to-disk configuration
Ignition runs during provision-to-disk, and then also tries to run again during
sytsemd. This commit adds a sentinel file during the initial provision-to-disk
that is detected by systemd to prevent re-running ignition partitioning /
formatting.

- Fixes: #1981

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-06 21:02:10 -07:00
Jonathon Anderson
8bf2e115a9 Make mkfs -f/-F flag selection more explicit
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-17 15:16:05 -07:00
kosmolito
c674728c09 docs(changelog): move mkfs fix entry under 'Fixed' section
Signed-off-by: kosmolito <said.karker@gmail.com>
2025-12-17 14:38:00 -07:00
kosmolito
7842f41f62 fix(mkfs): trim template whitespace; add changelog; add contributor
Signed-off-by: kosmolito <said.karker@gmail.com>
2025-12-17 14:37:57 -07:00
Jonathon Anderson
51869acf95 Merge pull request #2026 from kosmolito/fix/sfdisk-label-gpt
Fix sfdisk overlay for fresh disks by forcing GPT label
2025-12-17 13:32:36 -07:00
Jonathon Anderson
8f625c8288 Merge pull request #2017 from tweiers/network-manager-bond-fixes
Allow setting mtu and mac addr on bonds
2025-12-17 13:27:43 -07:00
Christian Goll
f590da4916 fix wwctl image import --update 2025-12-17 12:30:43 -07:00
Timothy Middelkoop
e55098cb5b Skip wwinit module if not root=wwinit*
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-12-17 11:35:04 -07:00
kosmolito
1c11eaff09 Fix sfdisk overlay for fresh disks by forcing GPT label
Fixes #2025
2025-12-17 10:53:47 -07:00
Tim Weiers
2b8d1be6b6 Allow setting mtu and mac addr on bonds in NetworkManager
Signed-off-by: Tim Weiers <56134890+tweiers@users.noreply.github.com>
Co-authored-by: Jonathon Anderson <janderson@ciq.com>
2025-12-16 22:23:24 -07:00
Christian Goll
983a359c00 refactor to overlay info 2025-12-09 22:52:44 -07:00
Christian Goll
5d284b1c61 show used Tags for overlays 2025-12-09 22:52:44 -07:00
Timothy Middelkoop
4c82de92c7 Systemd-networkd overlay with IPV6 support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-28 04:46:47 +00:00
Timothy Middelkoop
3aded908ce Add overlay variable NetworkCIDR6
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-27 19:34:28 +00:00
Timothy Middelkoop
c99cfec1b0 IPv6: wwclient support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-27 02:55:34 +00:00
Timothy Middelkoop
f5b4333781 IPv6: /etc/hosts support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-27 02:48:28 +00:00
Timothy Middelkoop
4f58845a9e Add IPv6 support for Dnsmasq and NetworkManager
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-27 01:56:18 +00:00
Timothy Middelkoop
07eee48a6a Add IPv6 support for dnsmasq
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-17 18:03:05 +00:00
Timothy Middelkoop
463994976e Add IpCIDR6 and IPv6 DHCP range
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-17 17:53:09 +00:00
Jonathon Anderson
685fd0338e Use a native library for SELinux in wwclient
This removes the dependency on shelling out to commands in the image.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-11-05 12:33:18 +01:00
Christian Goll
81a970bbd5 Merge pull request #2051 from cclerget/delete-image-errors
Fix ImageDelete API not returning error when checking if image is used by nodes/profiles
2025-11-05 12:30:57 +01:00
Jonathon Anderson
e07efeee4c New architecture-specific wwclient overlays
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-10-31 11:56:53 -06:00
Jonathon Anderson
40f0cebe64 Configure destination of grub.cfg at overlay render time
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-10-29 21:27:47 -06:00
Jonathon Anderson
be97ef15a0 Manage selinux context of tftp directory
- Fixes: #1997

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-10-29 20:11:41 -06:00
Cédric Clerget
718c79c7ca Fix ImageDelete API not returning error when checking if image is used by nodes/profiles
Signed-off-by: Cédric Clerget <cedric.clerget@gmail.com>
2025-10-27 16:41:15 -05:00
Christian Goll
8360a6ffff Fix CVE-2025-58058 2025-10-20 14:09:59 -06:00
Stephen Simpson
b5552aee07 Add IPMI bit-rate configuration and update documentation
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-10-17 11:04:43 -05:00
Christian Goll
05cf57a506 Merge pull request #2030 from middelkoopt/tm-openeuler
Add OpenEuler support
2025-10-15 09:24:28 +02:00
Jonathon Anderson
c600a3e455 Updated CHANGELOG and tests for netplan bonding
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-10-14 13:53:44 -06:00
Jonathon Anderson
a4bde3b279 Fix "address already in use" after wwclient --once
- Closes: #2009

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-10-14 13:01:04 -06:00
Timothy Middelkoop
44057766e7 Add OpenEuler support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-10-01 13:50:31 -05:00
Jonathon Anderson
91a69e8756 Rename debian.interfaces to ifupdown
When I first split the debian interfaces support from wwinit, I was unable to
figure out what it was called. I used the inelegant name "debian.interfaces" to
identify it; but I have since learned that it is called "ifupdown." I have
since learned that there is even a variant implementation, ifupdown-ng, that is
used by Alpine Linux.

This PR renames the overlay to ifupdown, but retains a copy of it at
debian.interfaces for backwards compatibility.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-15 09:50:59 -06:00
Jonathon Anderson
489c8662d3 v4.6.4 release updates
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-05 16:45:23 -06:00
Christian Goll
28b040326e Merge pull request #1995 from anderbubble/update-nm-connections
Omnibus network management overlay fixes
2025-09-05 14:18:49 +02:00
Jonathon Anderson
59f187bf5e Convert disk booleans from wwbool to *bool
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-05 14:16:03 +02:00
Christian Goll
d5b94afcb9 replace bools in disk structures with wwBool 2025-09-05 14:16:03 +02:00
Jonathon Anderson
458e23d0ae Set SLAVE=yes in ifcfg files when MASTER is set
- Fixes: #1980

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-04 17:44:25 -06:00
Jonathon Anderson
7a6a1ad441 Disable ipv4 in NetworkManager if no address or route is specified
- Closes: #1986

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-04 17:44:25 -06:00
Stephen Simpson
0ef2faf3f7 Update NetworkManager Overlay
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-09-04 17:44:25 -06:00
Jonathon Anderson
79d058f202 Prevent brp-mangle-shebangs from updating overlays
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-04 15:38:22 -06:00
Jonathon Anderson
0379cebb71 Merge pull request #2000 from anderbubble/golang-version-spec
Update golang BuildRequires in warewulf.spec.in
2025-09-04 15:21:14 -06:00
Jonathon Anderson
34bf90dbe9 Merge pull request #1993 from middelkoopt/tm-systemd-warewulfd
Add default for systemd name for warewulf in warewulf.conf
2025-09-04 15:14:38 -06:00
Adrian Reber
e86981fd59 fix(wwctl): Create overlay edit tempfile in tmpdir
When editing an overlay, the temporary file was created within the
overlay directory structure. This could lead to the temporary file
being included in the overlay if not cleaned up properly.

This change modifies the behavior to create the temporary file in the
system's default temporary directory, avoiding any potential issues
with the overlay itself.

Not using this change the temporary file can be seen in the overlay:

 DEBUG  : Using temporary file /usr/share/warewulf/overlays/host/ww-overlay-edit-2879742493
 DEBUG  : Checking if path exists as a file: /usr/share/warewulf/overlays/host/rootfs/etc/hosts.ww
 DEBUG  : ExecInteractive(tee, [/usr/share/warewulf/overlays/host/ww-overlay-edit-2879742493])

 # find /srv | grep ww-overlay
 /srv/warewulf/overlays/host/ww-overlay-edit-2879742493

With this patch applied:

 DEBUG  : Using temporary file /tmp/ww-overlay-edit-266752840
 DEBUG  : Checking if path exists as a file: /usr/share/warewulf/overlays/host/rootfs/etc/hosts.ww
 DEBUG  : ExecInteractive(tee, [/tmp/ww-overlay-edit-266752840])

 # find /srv | grep ww-overlay

Assisted-by: Gemini 2.5 Pro
Signed-off-by: Adrian Reber <areber@redhat.com>
2025-09-04 14:10:13 -06:00
Jonathon Anderson
a979bb1bef Update golang BuildRequires in warewulf.spec.in
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-09-04 13:35:03 -06:00