Commit Graph

3479 Commits

Author SHA1 Message Date
Cédric Clerget
9f2ab5168d Return HTTP 409 status when creating an existing overlay
Signed-off-by: Cédric Clerget <cedric.clerget@gmail.com>
2026-01-14 13:58:12 -07:00
Jason Scott
e3a6f22673 Merge pull request #2085 from anderbubble/2083-remove-requisite
Remove requisite relationship between ignition disk target and service
2026-01-14 13:38:03 -07:00
Jonathon Anderson
550eb1e309 Remove requisite relationship between ignition disk target and service
Fixes #2083

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-14 11:00:40 -07:00
Jonathon Anderson
c7fc14c3ae v4.6.5 release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-12 18:37:03 -07:00
Jonathon Anderson
9f79e3774b Merge pull request #2082 from jsco2t/bump-go-selinux-ver
Bump version on opencontainers/selinux to resolve CVE-2025-52881
2026-01-08 16:32:44 -07:00
Jonathon Anderson
b81dfbd51c Update dependency license documentation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-08 16:20:43 -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
jason scott
d46dcc2043 Bumping version opencontainers/selinux 2026-01-08 16:12:14 -07:00
Jonathon Anderson
d0bd5ac63a Merge pull request #2081 from jsco2t/vagrant-dev-env-v1
Resolving issues with vagrant dev envionment functionality + updating documentation
2026-01-08 16:09:13 -07:00
Jonathon Anderson
1ae132cd7e Fix a typo in vagrant/README.md
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-01-08 15:56:05 -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
jason scott
51095193b9 Resolving issues with dev envionment functionality + updating documentation
This commit is a continuation of the work that cclerget started. This
change includes the following updates:

- Fixes blocking issues preventing vagrant-libvirt from working in my
test environments.

- Overhauls the README documentation to add system setup instructions
and troubleshooting information.
2026-01-08 15:36:14 -07:00
Cédric Clerget
23d937ac55 Add CHANGELOG entry 2026-01-08 15:36:14 -07:00
Cédric Clerget
0d041cbbbb Vagrant/Libvirt basic test/dev environment
Signed-off-by: Cédric Clerget <cedric.clerget@gmail.com>
2026-01-08 15:36:14 -07:00
Christian Goll
f2869f4949 Merge pull request #2080 from hcartiaux/main
Fix a typo in ipmiwrite comment
2026-01-08 08:07:09 +01:00
Hyacinthe Cartiaux
aad03b7cd6 Fix a typo in ipmiwrite comment 2026-01-07 23:51:11 +01:00
Christian Goll
a28107130e Merge pull request #2077 from anderbubble/1981-fix-ignition-running-twice
fix ignition running twice
2026-01-07 21:00:30 +01: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
1a05ff406f Merge pull request #2028 from kosmolito/fix/mkfs-overwrite-logic
Fix mkfs overlay: handle false-positive filesystems and add safe overwrite
2025-12-17 17:09:47 -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
kosmolito
0c15c10515 refactor: apply mkfs force flag only when overwrite is true
Introduce $forceFlag variable to set -f/-F for forced formatting while
skipping force for regular runs.
2025-12-17 14:37:35 -07:00
kosmolito
378abfc373 fix(mkfs): correctly handle already-formatted disks and conditional overwrite
- Updated `already_formatted()` to use `blkid` plus safe read-only mount for accurate filesystem detection.
- Added conditional `-f` flag to `mkfs` only when `overwrite: true` is set.
- Removed `continue` statements from the shell script to prevent runtime errors.
- Updated Go overlay snapshot tests to reflect new template rendering.
- Ensures disks with leftover signatures but no valid filesystem are properly reformatted during node provisioning.
2025-12-17 14:37:35 -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
Jonathon Anderson
eb3160850f Merge pull request #2074 from mslacken/fixUpdate
Fix --update flag for wwctl image import
2025-12-17 12:44:00 -07:00
Christian Goll
f590da4916 fix wwctl image import --update 2025-12-17 12:30:43 -07:00
Jonathon Anderson
71345d9c2c Merge pull request #2066 from middelkoopt/tm-wwinit
Skip wwinit module if not root=wwinit*
2025-12-17 12:05:04 -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
Jonathon Anderson
b36b2e9674 Adjust sfdisk --label gpt to only apply when wiping the disk
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-17 10:54:10 -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
Jonathon Anderson
a16d92f56e Merge pull request #2070 from middelkoopt/tm-ipv6-build
Add systemd.networkd overlay to RPM
2025-12-10 08:56:26 -07:00
Timothy Middelkoop
f49a294b00 Add systemd.networkd overlay to RPM
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-12-10 06:42:49 -07:00
Christian Goll
3a2c9eae9a Merge pull request #2014 from mslacken/showTags
show used Tags for overlays
2025-12-10 10:21:20 +01:00
Jonathon Anderson
f82d90123a Additional tests for wwctl overlay info
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-09 23:16:03 -07:00
Jonathon Anderson
9ed245f9fe Update test suite for wwctl overlay info
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-09 23:16:03 -07:00
Jonathon Anderson
4e67db0be6 Reflection-based template walking
Rather than deriving the identity of template variables by string parsing the
name, identify its relationship to the underlying struct using reflection.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-09 23:16:00 -07:00
Jonathon Anderson
29136e17d4 Recommended changes from review
- Reorganized documentation
- Reordered columns
- Renamed column names
- Added `--` to options in output
- Updated aliases

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-12-09 22:52:44 -07:00
Christian Goll
0bbab7ac3c allocate writeFile and backupFile just once 2025-12-09 22:52:44 -07:00
Christian Goll
983a359c00 refactor to overlay info 2025-12-09 22:52:44 -07:00
Christian Goll
d1d398d2ff add more generic documentation via wwdoc(n)
doc
2025-12-09 22:52:44 -07:00
Christian Goll
68758e3e45 use comments of variables for help 2025-12-09 22:52:44 -07:00
Christian Goll
facde98fb5 new overlay variables command 2025-12-09 22:52:44 -07:00
Christian Goll
847a4386e1 don't show vars in overlay list
vars
2025-12-09 22:52:44 -07:00
Christian Goll
5d284b1c61 show used Tags for overlays 2025-12-09 22:52:44 -07:00
Christian Goll
649c80af6d Merge pull request #2068 from middelkoopt/tm-ipv6
RFC: Improve IPv6 support for overlays and add IPv6 support in overlays
2025-12-01 14:36:23 +01:00