Commit Graph

2541 Commits

Author SHA1 Message Date
Jonathon Anderson
82df96bf16 Move #1291 changelog entry to v4.5.8
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-16 19:48:34 -06:00
Christian Goll
7f6f717247 Merge pull request #1291 from epruesse/grub-assekey-patch
Fix grub asset key handling
2024-09-16 13:05:03 +02:00
Elmar Pruesse
3576b1d061 Update contributors and changelog
Signed-off-by: Elmar Pruesse <pruessee@njhealth.org>
2024-09-16 13:04:48 +02:00
Elmar Pruesse
097fbbc82a Fix grub asset key handling
Signed-off-by: Elmar Pruesse <pruessee@njhealth.org>
2024-09-16 13:04:09 +02:00
Christian Goll
bffbbdeca8 Merge pull request #1393 from upsj/overlay_build_error
Return error code if overlay build fails
2024-09-16 13:01:32 +02:00
Tobias Ribizel
c6b6caeb0b fix lint warnings
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-09-16 12:55:27 +02:00
Jonathon Anderson
ee734d28ab Merge pull request #1387 from JasonYangShadow/issue/1371
Return an error indicating that name should not contain colon when importing containers
2024-09-14 22:33:17 -06:00
xu yang
5492ac0107 Return an error during wwctl container import if archive filename contains a colon
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-14 22:18:01 -06:00
Tobias Ribizel
7692babd76 Return error code if overlay build fails
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-09-15 01:43:53 +02:00
Jonathon Anderson
5db22a630e Add "Elmar Pruessee" to CONTRIBUTORS
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-11 09:44:49 -06:00
Jonathon Anderson
c0183f1fc7 Fix an erroneous / duplicate changelog entry
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-11 07:36:03 -06:00
Jonathon Anderson
90cb69d26e Release v4.5.7
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-11 07:21:57 -06:00
Christian Goll
472463d6b6 Merge pull request #1351 from anderbubble/dracut-boot-refinement
Dracut boot refinement
2024-09-11 14:18:22 +02:00
Christian Goll
ded44ad78d Merge pull request #1365 from mslacken/CopyOnChange
add cow option for binds
2024-09-09 11:15:55 +02:00
Jonathon Anderson
5860334a89 Improve error handling during container file copy removal
Based on feedback at #1365

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-09 11:09:10 +02:00
Jonathon Anderson
9e91b1c19a Rename :cow to :copy
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-09 11:09:10 +02:00
Jonathon Anderson
3a36016707 Refactor of new copy-on-write feature
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-09 11:09:09 +02:00
Jonathon Anderson
173546348f Edited documentation for new copy-on-write feature
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-09 11:09:09 +02:00
Christian Goll
dc263425e2 Added cow option to bind
The option cow can now be set for files which are then
mounted during exec, but copied into the image and removed
if not modified.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-09 11:09:04 +02:00
Christian Goll
25fbe5880b Merge pull request #1383 from anderbubble/1359-syncuser-guidance
Additional guidance when syncuser conflicts
2024-09-09 07:37:47 +02:00
Jonathon Anderson
d05414436a Additional guidance when syncuser conflicts
- Closes #1359

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-06 14:03:15 -06:00
Christian Goll
373bfcbdee Merge pull request #1382 from anderbubble/1363-overlay-show-render-fix
Prevent overlays from being improperly used as format strings
2024-09-06 15:02:05 +02:00
Jonathon Anderson
f39972f917 Prevent overlays from being improperly used as format strings
`wwctl overlay show --render` shows the rendered overlay with
`wwlog.Info`, but that caused it to be processed as a format string.
This passes an explicit format string first, and then includes the
rendered overlay as a variable to the formatter.

- Fixes #1363

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-06 15:01:49 +02:00
Christian Goll
7cc6258768 Merge pull request #1380 from anderbubble/fix/1259
Fixed node overlays overrides of profile overlays
2024-09-06 13:22:29 +02:00
Jonathon Anderson
e2da5b6d09 Restore use of dmidecode in dracut for assettag and uuid
This prevents exposing these values in /proc/cmdline.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:19 -04:00
Elmar Pruesse
c2e4ca5b59 Fix missing URL component "stage" in parse-wwinit.sh 2024-09-05 18:41:19 -04:00
Jonathon Anderson
938ac534be Fix dracut-side uri references
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Jonathon Anderson
e4385713e8 Port dracut boot refinement to grub
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Jonathon Anderson
624631a4d5 Use the wwinit uri built by iPXE during dracut
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Jonathon Anderson
becd0a5e32 Pass wwinit.KernelOverride explicitly
Rather than create a new wwinit.kmods boolean, pass
wwinit.KernelOverride explicitly to dracut and allow it to perform the
same logic that previously had been in iPXE.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Jonathon Anderson
c2cc0157ba Don't assume runtime overlay name format
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Jonathon Anderson
7e70e5a2bb Refactor priveleged port use in dracut
- Use a port range
- Minor stylistic changes

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00
Josh Burks
70204649c0 added requires cpio,curl,dmidecode to warewulf-dracut spec
Signed-off-by: Josh Burks <jeburks2@asu.edu>
2024-09-05 18:41:18 -04:00
Josh Burks
a079f2c179 Update changelog and contributors
Signed-off-by: Josh Burks <jeburks2@asu.edu>
2024-09-05 18:41:18 -04:00
Josh Burks
d62743ee11 clean up /proc/cmdline with dracut and allow dracut to boot with secure mode to fix #1261 2024-09-05 18:41:18 -04:00
Jonathon Anderson
4a5c1cad12 Simplified slice ordering fix and extended for runtime overlay
- Extends #1357
- Fixes #1259

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-04 19:59:59 -06:00
xu yang
bfa6ad6be8 add test case
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-04 17:10:50 -06:00
xu yang
cc617007cd prefer profile overlay value over node one
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-04 17:10:49 -06:00
Jonathon Anderson
2b82c2074a Merge pull request #1142 from mslacken/OciCredentials
adding WAREWULF_OCI vars to wwctl
2024-09-04 16:58:09 -06:00
Jonathon Anderson
9e0f255fe3 Use wwctl container import --password by default
Retains support for --passwd as a hidden flag targeting the same
variable.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-04 16:52:16 -06:00
Christian Goll
32f554d60b Merge pull request #1379 from anderbubble/tsc-chair-election
Add rules for TSC member and chair selection
2024-09-04 21:16:31 +02:00
Christian Goll
56ce095a48 added cmd-line oci vars documentation
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-04 20:52:47 +02:00
Christian Goll
13349bbf66 adding WAREWULF_OCI vars to wwctl
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-04 20:52:43 +02:00
Jonathon Anderson
419588a8cf Add rules for TSC member and chair selection
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-04 08:23:20 -06:00
Christian Goll
a9281e645f Merge pull request #1361 from jeburks2/multiarch_container_management
Update containers.rst to include QEMU multiarch
2024-09-04 16:00:38 +02:00
Christian Goll
8afd520ef4 Merge pull request #1350 from anderbubble/sanitize-wwclient-url-data
Refactor url build in wwclient with url.URL
2024-09-04 14:07:24 +02:00
Jonathon Anderson
73c70da4ef Refactor url build in wwclient with url.URL
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-04 14:06:56 +02:00
Jonathon Anderson
040fdd8c45 Merge pull request #1369 from epruesse/patch-1
docs: fix dracut build command in docs
2024-09-03 22:58:33 -06:00
Elmar Pruesse
64f7b6c5b2 Fix dracut command in docs
The current command line works correctly only if one kernel is
installed. It picks the oldest if there are multiple, which is rather
unlikely to be correct. Using "tail" instead of "head" would work also,
but --regenerate-all makes it briefer and safer.
2024-09-03 22:56:17 -06:00
Jonathon Anderson
cabb97474a Merge pull request #1360 from JasonYangShadow/fix/1273
refine `wwctl configure` error handling
2024-09-03 19:45:06 -06:00