Commit Graph

2591 Commits

Author SHA1 Message Date
Christian Goll
65b64f131c Merge pull request #1418 from anderbubble/fix/wicked-ifcfg-regression
Fix a "wicked" ifcfg overlay regression
2024-09-26 08:52:40 +02:00
Jonathon Anderson
a639c97a25 Fix a "wicked" ifcfg overlay regression
Regression introduced in #1410.

See also #1413 for underlying issue.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-25 14:28:47 -06:00
Jonathon Anderson
eb2fab9902 Merge pull request #1408 from JasonYangShadow/issue/1241
Fix excessive line spacing issue when listing nodes
2024-09-25 13:52:29 -06:00
Jonathon Anderson
e99e8c3dbb Update use of wwlog.Info to specify a format string
Since wwlog.Info() expect a format string, accidental inclusion of a
format string in the payload causes an error.

See also #1382, #1363

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-25 13:49:11 -06:00
xu yang
aa8282ad10 Fix excessive line spacing issue when listing nodes
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-25 13:49:08 -06:00
Christian Goll
d24a92965f Merge pull request #1406 from anderbubble/1389-rundir-help-text
Additional help test when container.RunDir already exists
2024-09-25 11:10:22 +02:00
Christian Goll
e15b1402f7 Merge pull request #1415 from JasonYangShadow/issue/1414
return non-zero exit code on container sub-commands
2024-09-25 11:09:45 +02:00
xu yang
94e203dd2e return non-zero exit code on container sub-commands
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-25 08:50:50 +00:00
Jonathon Anderson
f73832c337 Merge pull request #1410 from anderbubble/1278-onboot
Configure onboot for NetworkManager, debian networking, and wicked
2024-09-23 11:41:44 -06:00
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
836b791d74 Additional help test when container.RunDir already exists
- Closes #1389

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-19 11:40:10 -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