Commit Graph

2571 Commits

Author SHA1 Message Date
Jonathon Anderson
1132365f5d Merge pull request #1412 from anderbubble/FixPanicOnCntImprt
Fix panic on container import
2024-09-21 22:21:57 -06:00
Christian Goll
9a28b2d7fb copy.DirCopy is internal and needs Init
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-21 22:12:57 -06:00
Jonathon Anderson
75224bc9ba Merge pull request #1400 from JasonYangShadow/issue/1332
fix autodetected kernel sorting
2024-09-20 17:45:17 -06:00
Jonathon Anderson
512f244067 Merge pull request #1404 from JasonYangShadow/issue/1378
Add flag --build to wwctl container copy, default false
2024-09-20 17:43:57 -06:00
xu yang
1f492dfed5 Add flag --build to wwctl container copy, default false
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-20 17:31:17 -06:00
Jonathon Anderson
6f959eb80a Merge pull request #1407 from JasonYangShadow/issue/1377
Return non-zero exit code on container copy failure
2024-09-20 17:28:00 -06:00
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
xu yang
aa35ce93e5 Return non-zero exit code on container copy failure
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-19 23:58:32 +00:00
xu yang
31c980f731 fix autodetected kernel sorting
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-19 15:13:52 -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