Commit Graph

2563 Commits

Author SHA1 Message Date
Jonathon Anderson
6796a69c3f Update pull request template
The checklist is now the reviewer's responsibility.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-20 14:04:16 -06:00
Jonathon Anderson
9be9d486de Merge pull request #1401 from anderbubble/init-rootfs-fixes
Init rootfs fixes
2024-09-20 09:13:57 -06:00
Jonathon Anderson
a3a15a40c3 Merge pull request #1402 from warewulf/revert-822-init-rootfs-fixes
Revert "Init rootfs fixes"
2024-09-20 09:13:45 -06:00
Jonathon Anderson
b806b49e1b Revert "Init rootfs fixes" 2024-09-18 09:49:08 -04:00
Christian Goll
cd39a766d8 Merge pull request #822 from elfurbe/init-rootfs-fixes
Init rootfs fixes
2024-09-18 07:55:44 +02:00
Jonathon Anderson
c03acabd82 Further simplification of wwinit/init
- Closes #1093
- Extends #822

Restores the acceptable use of the initramfs options to avoid deprecation in a
v4.5.x maintenance release.

Moves mounting of kernel file systems earlier in the script so that we
can use the same reboot pattern for all error conditions.

Flattens nested if/else logic.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-17 23:11:24 -04:00
Adam Michel
76908909a0 Refactor of wwinit/init to more properly address rootfs options
- Closes #1093
- Show rootfs type on-screen during boot.
- Fix logic flow for deciding to pivot or not.
- Add Informational message about 'initramfs' option.
- Allow unset WWROOT to continue to wwinit.

Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 23:07:49 -04:00
Adam Michel
771fbd3916 Added myself to the CONTRIBUTORS.md as instructed
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:52:06 -04:00
Adam Michel
074062db4e added changelog message
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:51:59 -04:00
Adam Michel
9fea252d0e phrasing
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:45:10 -04:00
Adam Michel
51561d901e allows unset WWROOT to continue to wwinit
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:45:10 -04:00
Adam Michel
027e17f626 Informational messages added about 'initramfs' option
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:45:10 -04:00
Adam Michel
59aee68c2e reboot expects systemd _sigh_, force required
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:45:02 -04:00
Adam Michel
23a041b886 square brackets syntax superiority
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:44:34 -04:00
Adam Michel
b0bc5eb20d fix logic flow for deciding to pivot or not
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:44:32 -04:00
Adam Michel
9d7e1a51c0 show rootfs type on-screen during boot
Signed-off-by: Adam Michel <elfurbe@furbism.com>
2024-09-17 09:43:01 -04:00
Christian Goll
43b298f3aa Merge pull request #1396 from anderbubble/tmpfs-mpol-interleave
Set mpol=interleave on dracut tmpfs
2024-09-17 14:50:31 +02:00
Christian Goll
563b1816a6 Merge pull request #1392 from upsj/network-interface-documentation
Improve network interface documentation
2024-09-17 09:21:05 +02:00
Tobias Ribizel
18ab25dc55 use rst note 2024-09-17 09:12:00 +02:00
Jonathon Anderson
97620ebba3 Set mpol=interleave on dracut tmpfs.
- Closes #1347
- Closes #1348

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-16 23:17:14 -04:00
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
Tobias Ribizel
2175bc4ddf Add note about eth0 usage
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-09-15 01:30:57 +02:00
Tobias Ribizel
22eae7cd90 Remove mentions of eth0
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-09-15 01:30:47 +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