Commit Graph

2614 Commits

Author SHA1 Message Date
Jonathon Anderson
6848d5ffe2 Merge pull request #1429 from anderbubble/building-ipxe-locally
Building ipxe locally
2024-09-27 11:19:42 -06:00
Jonathon Anderson
ea72f2b5c5 Minor fixes for documentation formatting
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-27 11:17:15 -06:00
Jonathon Anderson
e78316673b New documentation for building iPXE locally
Closes #1114

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-27 11:16:12 -06:00
Jonathon Anderson
bf4cce92ad Merge pull request #1430 from anderbubble/import-copy-socket
Add workaround documentation for importing containers with sockets
2024-09-27 11:14:56 -06:00
Jonathon Anderson
63656789e5 Added workaround documentation for importing containers with sockets.
- Workaround for #892

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-27 11:12:21 -06:00
Jonathon Anderson
b3ed7d3a5d Merge pull request #1428 from anderbubble/ramfs-docs
Update SELinux documentation to address rootfstype=ramfs
2024-09-27 11:09:44 -06:00
Jonathon Anderson
3af2d3afae Update SELinux documentation to address rootfstype=ramfs
Previous versions of Warewulf v4 required a kernel argument
rootfstype=ramfs to be set, in addition to --root=tmpfs. This was fixed
in #1401.

- Closes #1001

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-27 11:02:59 -06:00
Jonathon Anderson
e7c92f0d8a Merge pull request #1426 from anderbubble/1179/rocky-quickstart-fix
Fixes for EL quickstart
2024-09-27 10:57:28 -06:00
Jonathon Anderson
e4651bbc7c Update Rocky 9 quickstart
- Closes #1179

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-27 10:51:25 -06:00
Christian Goll
132869f8b3 Merge pull request #1306 from anderbubble/split-test-overlays
Split overlays into discrete functionality and test
2024-09-27 14:59:37 +02:00
Jonathon Anderson
acfbdbc228 Merge pull request #1395 from mslacken/FixPanicContList
Fix panic when getting a long container list before building the container
2024-09-26 18:47:27 -06:00
Jonathon Anderson
8d4cb37b24 Move UTC selection to testsuite environment variable
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 18:23:47 -06:00
Christian Goll
883de9c4fc no panic if listing non existing container image
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-26 18:22:36 -06:00
Jonathon Anderson
c0c93b153a Merge pull request #1234 from anderbubble/troubleshooting-guide
New troubleshooting guide
2024-09-26 17:37:57 -06:00
Jonathon Anderson
f9aeb764d5 New troubleshooting guide
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 17:34:20 -06:00
Jonathon Anderson
187432aaee Merge branch '1420-wwctl-power-soft-typo'
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 11:47:00 -06:00
Brandon Biggs
24ea5580e2 Fix a typo in wwctl power soft help text 2024-09-26 11:42:54 -06:00
Jonathon Anderson
57f7a8f158 Omit internal tests from overlay installation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:40 -06:00
Jonathon Anderson
61df65fc5f Remove test/batch-test.go
Tests already exist for this at internal/pkg/batch/batch_test.go

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:40 -06:00
Jonathon Anderson
cac6ae1cd0 Fix wwlog.Output format strings during overlay show
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:40 -06:00
Jonathon Anderson
053dd9953a Split overlays into discrete functionality and test
- Closes #987

To make the overlays testable in isolation, and after discussion with
the TSC, removed host/time/source from overlay files.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:38 -06:00
Christian Goll
b150b6319e Merge pull request #1422 from JasonYangShadow/issue/1421
Return non-zero exit code on node sub-commands
2024-09-26 08:58:11 +02:00
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
xu yang
3f120f2c4b Return non-zero exit code on node sub-commands
Signed-off-by: xu yang <xyang@ciq.com>
2024-09-26 06:15:02 +00: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