Commit Graph

2581 Commits

Author SHA1 Message Date
Jonathon Anderson
216b55af07 Add autoconnect / onboot support to Suse wicked
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-23 11:37:21 -06:00
Jonathon Anderson
f88f3507ba Add autoconnect / onboot support to Debian networking
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-23 11:37:05 -06:00
Jonathon Anderson
e21c266ded Add autoconnect / onboot support to NetworkManager
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-23 11:36:49 -06:00
Jonathon Anderson
b9a35ac664 Merge pull request #1358 from JasonYangShadow/fix/1344
Add --syncuser flag to wwctl shell
2024-09-23 11:32:30 -06:00
Christian Goll
efc5bb7c18 Merge pull request #941 from mslacken/UmaskTftpDir
ensure that .Paths.Tftpdir."warewulf" is 0755
2024-09-23 08:37:18 +02:00
Jonathon Anderson
15aa081dd1 Move restoration of old umask to a defer
Suggested in comment on PR #941

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-21 22:42:51 -06:00
Christian Goll
a8658c226f emsure that .Paths.Tftpdir."warewulf" is 0755
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-21 22:41:08 -06:00
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
93dc8e3591 Update CHANGELOG to indicate mtime change
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-17 21:26:56 -06:00
Jonathon Anderson
96119484d8 Move syncuser pass from shell to exec
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-17 21:26:32 -06:00
xu yang
0b3eace403 Add syncuser to wwctl container shell and switch to mtime
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-17 21:26:30 -06: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