Commit Graph

2727 Commits

Author SHA1 Message Date
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
Jonathon Anderson
0b6785f722 Remove specific guidance from wwctl error messages
Guidance to run `wwctl configure dhcp` or `wwctl configure tftp` may be
misleading for sites that are managing these services directly. They are
also too specific, as simply re-running `wwctl configure -a` after
enabling them in the config should also be sufficient.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-03 19:40:59 -06:00
xu yang
6212f40e4c Refine wwctl configure error handling
- Closes #1273

Signed-off-by: xu yang <xyang@ciq.com>
2024-09-03 19:40:28 -06:00
Jonathon Anderson
a36427d1b2 Moved #1349 CHANGELOG to v4.5.7
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-03 16:13:57 -06:00
Jonathon Anderson
50fbd337ad Merge pull request #1372 from posch/logrotate
Add LOGROTATEDIR to Defaults.mk
2024-09-03 15:47:43 -06:00
Jonathon Anderson
d3ecb5f81e Add Tobias Poschwatta to CONTRIBUTORS
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-03 15:38:45 -06:00
Jonathon Anderson
e0d5311e13 Merge pull request #1374 from posch/profile-typo
Fix typo in "profile with name ... already exists" message
2024-09-03 15:32:22 -06:00
Tobias Poschwatta
b4e1b9cb24 Fix typo in "profile with name ... already exists" message
Signed-off-by: Tobias Poschwatta <poschwatta@zib.de>
2024-08-30 11:45:43 +02:00
Tobias Poschwatta
550c94aea5 Add LOGROTATEDIR to Defaults.mk
Signed-off-by: Tobias Poschwatta <poschwatta@zib.de>
2024-08-27 13:02:16 +02:00
Christian Goll
f07bbee134 Merge pull request #1367 from griznog/warewulf-web-cleanup
Fix old links that pointed to warewulf-web
2024-08-22 09:50:56 +02:00
griznog
2e01d57967 Update CHANGELOG for PR. 2024-08-21 06:33:07 -05:00
griznog
2d4e149250 Replace warewulf-web with warewulf in contributing links. 2024-08-21 06:31:06 -05:00
jeburks2
b607613196 Update containers.rst to include QEMU multiarch
Update containers.rst

Update containers.rst

Signed-off-by: Josh Burks <jeburks2@asu.edu>
2024-08-09 14:27:11 -07:00
Jonathon Anderson
09c17551e8 Release v4.5.6
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-05 08:20:43 -06:00
Christian Goll
964902a611 Merge pull request #1305 from anderbubble/selinux-docs-fix
Update selinux documentation to reference an example
2024-08-05 09:30:45 +02:00