Jonathon Anderson
7d0b73e452
Address copilot review from #1945
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:57:01 -06:00
Jonathon Anderson
5ceeb60c24
Refactor wwapi tests for proper isolation
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
e149a332e6
Bugfix: cloning a site overlay when parent dir does not exist
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
749e79b7ec
Clone to a site overlay when adding files in wwapi
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
9884aad504
Consolidated createOverlayFile and updateOverlayFile to addOverlayFile
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
jason yang
62d1aa654d
Support for creating and updating overlay file in wwapi
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
7b2c0901ed
Only return overlay files that refer to a path within the overlay
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
jason yang
e089fe0101
add overlay file deletion support
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
6b5115934b
DELETE /api/overlays/{id}?force=true can delete overlays in use
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:48 -06:00
Jonathon Anderson
949dc9d46b
Restore idempotency of PUT /api/nodes/{id}
...
HTTP PUT is supposed to be idempotent, so PUT for an existing node or
profile should replace the node or profile, not throw an error.
Generating an error on duplicate can now be requested using the
If-None-Match header with a `*` value.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:41 -06:00
Jonathon Anderson
a0752a5bd0
Simplify overlay mtime api and add tests
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-28 18:18:22 -06:00
jason yang
a3dbf6aeee
add node overlay buildtime
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2025-07-28 18:18:13 -06:00
Christian Goll
6de1b8f843
Merge pull request #1941 from anderbubble/netplan
...
Improved netplan support
2025-07-21 09:38:25 +02:00
Jonathon Anderson
cd14ee146f
Improved netplan support
...
Amother other things, implements support for bonds.
- Fixes : #1873
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-21 09:38:00 +02:00
Jonathon Anderson
947bd1625e
Merge pull request #1940 from anderbubble/fix-discoverable-autobuild
...
Rebuild overlays for discovered nodes
2025-07-14 15:04:23 -06:00
Jonathon Anderson
a2c7caa4ba
Rebuild overlays for discovered nodes
...
- Fixes : #1468
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 14:29:38 -06:00
Jonathon Anderson
4f63790896
Restrict userdocs from building during pr when not modified
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 11:38:33 -06:00
Jonathon Anderson
432a314f04
Update to v4.6.2 GitHub release notes
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 10:01:50 -06:00
Jonathon Anderson
0cb9354364
Refactor GitHub workflows
...
This mostly simplifies our GitHub actions, but also fixes recent
breaking in the release workflows, unifies the tagged and nightly
release workflows, and moves to using `gh release` to manage releases.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 09:40:35 -06:00
Jonathon Anderson
f22ab9e7b1
v4.6.2
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 09:36:58 -06:00
Christian Goll
015245c20b
Merge pull request #1936 from upsj/main
...
add docstring for node patterns
2025-07-07 15:55:39 +02:00
Tobias Ribizel
470b7d7519
add newline to docstring
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2025-07-07 15:50:43 +02:00
Tobias Ribizel
c2a51c2a7e
format and changelog
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2025-07-07 15:44:11 +02:00
Tobias Ribizel
301082cdd7
add docstring for node patterns
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2025-07-06 16:36:45 +02:00
Christian Goll
93a3000f27
Merge pull request #1935 from anderbubble/1862-remove-csv-import
...
Remove wwctl node import --csv
2025-07-04 10:58:12 +02:00
Jonathon Anderson
2ba6e28215
Remove wwctl node import --csv
...
- Closes #1862
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-02 21:25:54 -06:00
Jonathon Anderson
1d3f0095fa
Merge pull request #1934 from anderbubble/1856-nettag-documentation-link
...
Additional nettag documentation in userdocs
2025-07-02 15:49:32 -06:00
Jonathon Anderson
dda51d2426
Additional nettag documentation in userdocs
...
- Fixes #1856
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-02 15:45:19 -06:00
Christian Goll
908fe6a1fb
Merge pull request #1932 from anderbubble/1886-preserve-overlay-edit-permissions
...
Preserve file permissions during wwctl overlay edit
2025-07-02 21:36:34 +02:00
Jonathon Anderson
48bace55f6
Preserve file permissions during wwctl overlay edit
...
- Fixes : #1886
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-02 08:06:13 -06:00
Christian Goll
eaad409bf0
Merge pull request #1917 from WillForan/main
...
Debian doc includes build option in import command (#1915 )
2025-07-02 13:56:40 +02:00
Christian Goll
064766573d
Merge pull request #1921 from anderbubble/image-help-width
...
Fix width of wwctl image shell --help
2025-07-02 13:55:46 +02:00
Jonathon Anderson
3db131eadf
Fix width of wwctl image shell --help
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-02 13:54:56 +02:00
Christian Goll
248a739070
Merge pull request #1916 from anderbubble/1892-echo-fix
...
Fixed IPMI VLAN configuration
2025-07-02 13:53:26 +02:00
Jonathon Anderson
987eeb019b
Fixed IPMI VLAN configuration
...
- Closed : #1892
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-02 13:53:11 +02:00
Christian Goll
7f8063835d
Merge pull request #1894 from anderbubble/image-to-disk
...
support provisioning the image to disk
2025-07-02 13:51:49 +02:00
Christian Goll
2e860c3462
changed SetId() to setId()
2025-07-02 13:51:07 +02:00
Jonathon Anderson
b74e326212
Move "provision to disk" documentation to "provisioning disks" section
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-01 00:05:30 -06:00
Jonathon Anderson
f2b091d4cb
Fixed sleep/reboot on error during GRUB boot
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-06-30 23:26:42 -06:00
Jonathon Anderson
db3a3fee05
Additional overlays to support provision-to-disk without ignition
...
- sfdisk - partitions the disk
- mkfs - formats partitions
- mkswap - formats partitions for swap
- systemd.mount - explicit creation of systemd mount units
- systemd.swap - explicit creation of systemd swap units
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-06-30 23:24:20 -06:00
Jonathon Anderson
b98eae4b01
Refactor ignition support during dracut
...
- Control root device using the node/profile root field
- Add support for `/warewulf/wwinit.d` to run scripts during first stage
- Move first-stage ignition support to `/warewulf/wwinit.d/`
- Add `wwctl <node|profile> set --parttype`
- Add overlay template functions `SystemdEscape` and `SystemdEscapePath`
- Support configuring ignition with resources
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-06-30 23:19:31 -06:00
Christian Goll
608ef89d40
documented diskfull installation
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-06-17 01:34:23 -06:00
Christian Goll
917f191abe
add support for ignition in configs
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-06-17 01:34:23 -06:00
Christian Goll
b8641b8569
more variables for the grub templates
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-06-17 01:34:23 -06:00
Jonathon Anderson
7d437e9e58
Merge pull request #1925 from MatthewHink/mhink-ovl
...
Add uid, gid, and permissions to OverlayFile struct
2025-06-16 17:13:20 -06:00
Jonathon Anderson
f61dfdde87
Use jsonassert in test
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-06-16 17:09:34 -06:00
MatthewHink
b6c33d9567
Add uid, gid, and permissions to OverlayFile struct
...
There is an existing test for this. uid, gid, and permissions seem
consistent across test boxes.
2025-06-16 17:09:24 -06:00
Christian Goll
46cc08acc6
Merge pull request #1923 from anderbubble/wwclient-logs
...
Minor updates to wwclient log messages
2025-06-16 11:50:51 +02:00
Jonathon Anderson
680ecfb3fd
Minor updates to wwclient log messages
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-06-16 11:02:40 +02:00
Christian Goll
aebf58971a
Merge pull request #1922 from anderbubble/move-wwclient-to-overlay
...
Move the wwclient binary to wwclient overlay
2025-06-16 10:53:06 +02:00