Commit Graph

2476 Commits

Author SHA1 Message Date
Jonathon Anderson
0dc2985245 Merge pull request #1276 from mslacken/logrotate
logrotate support
2024-08-02 17:45:34 -06:00
Jonathon Anderson
614cb9a339 Fixes for logrotate.d packaging
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-02 17:36:32 -06:00
Christian Goll
fbf3e3c0a8 Add a logrotate config for warewulfd.log
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 17:06:21 -06:00
Jonathon Anderson
0f3aad3812 Merge pull request #1283 from mslacken/EnhanceContList
enhanced container list
2024-08-02 16:39:32 -06:00
Jonathon Anderson
f02af9f242 Container list shows size if any size option specified
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-02 16:36:15 -06:00
Christian Goll
553e401fe0 enhanced container list
Container list has now options for full, kernel and size listing. Without any
arguments only available containers are listed. Size is no more fine granular
showing also size of the image, chroot and compressed image

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 16:34:54 -06:00
Jonathon Anderson
0c73a4128b Merge pull request #1284 from mslacken/FsWipeDoc
updated documenation regarding fswipe
2024-08-02 15:55:37 -06:00
Christian Goll
ee79729dc6 updated documenation regarding fswipe
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 15:36:22 -06:00
Jonathon Anderson
49647052be Merge pull request #1295 from mslacken/ErrorNoContainer
Check for empty container var
2024-08-02 15:34:25 -06:00
Christian Goll
640a046dd9 report error if no container was defined
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 14:48:02 -06:00
Jonathon Anderson
44097b89b5 Merge pull request #1297 from mslacken/RemoveDeadBootMethod
removed dead `boot method` from defaults.conf
2024-08-02 14:36:09 -06:00
Christian Goll
6f5f6f07ee removed dead boot method from defaults.conf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 14:32:29 -06:00
Jonathon Anderson
aff7d8160f Merge pull request #1298 from mslacken/BetterwwctkContainer
added completion to overlay chmod/chown/delete/edit
2024-08-02 14:07:47 -06:00
Christian Goll
c9c38542f4 added completion to overlay chmod/chown/delete/edit
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 13:55:56 -06:00
Jonathon Anderson
1418d091a8 Merge pull request #1302 from warewulf/ContainerVerbose
be more verbose on container exec
2024-08-02 13:45:10 -06:00
Jonathon Anderson
6028a6eb58 Minor adjustments to exitEval and msgStr
For grammar clarity, and consistency.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-02 13:29:59 -06:00
Christian Goll
9d2853ad64 Show pending container build status during container exec, shell
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-08-02 11:43:05 -06:00
Jonathon Anderson
212b57f095 Merge pull request #1309 from griznog/sanitize-wwclient-url-data
sanitize wwclient url data
2024-08-02 10:50:26 -06:00
griznog
15bb3f2d96 Update CHANGELOG.md 2024-08-02 09:14:27 -06:00
griznog
103852df78 Sanitize/escape asset tag strings from dmidecode. 2024-08-02 09:13:47 -06:00
Christian Goll
d0b1441b12 Merge pull request #1349 from posch/wwclient-port
Add option for wwclient port number
2024-08-02 14:45:23 +02:00
Tobias Poschwatta
971d9e2118 Add option for wwclient port number
With this change, you can specify a port number for wwclient.
If

  wwclient:
    port: NUMBER

is specified in warewulf.conf, wwclient will bind to the specified local
port NUMBER. If no port is specified, wwclient will use any available
port, or port 987 if secure is true.

Port 987 is in the default port range used by the Linux NFS client
(665-1023, see linux/include/linux/sunrpc/xprtsock.h). Changing
the port can avoid failures when port 987 is already in use.

Signed-off-by: Tobias Poschwatta <poschwatta@zib.de>
2024-08-02 11:09:16 +02:00
Christian Goll
dc7edfdb60 Merge pull request #1313 from JasonYangShadow/issue/1312
fix the failure when updating overlay files existing on different par…
2024-07-29 09:14:20 +02:00
xu yang
cec903aeeb resovle the comments
Signed-off-by: xu yang <xyang@ciq.com>
2024-07-25 06:42:16 +00:00
xu yang
62d9b5f71d fix the failure when updating overlay files existing on different partitions
Signed-off-by: xu yang <xyang@ciq.com>
2024-07-25 02:29:29 +00:00
Christian Goll
b61e391890 Merge pull request #1304 from anderbubble/dracut-docs-hierarchy
Move dracut docs to their own heading
2024-07-16 08:30:27 +02:00
Jonathon Anderson
527ab6249e Move dracut docs to their own heading
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-15 11:57:09 -06:00
Christian Goll
1e17b816c5 Merge pull request #1301 from anderbubble/FixOverlayAutobuild
Ensure autobuilt overlays include contextual overlay contents.
2024-07-11 10:45:11 +02:00
Jonathon Anderson
9050622f68 Ensure autobuilt overlays include contextual overlay contents.
Following #1249, autobuilt overlays were being built with no contents.

This change follows the pattern in `wwctl overlay build` to include configured
overlays when none are explicitly specified.

Inspired by #1296.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-10 16:06:06 -04:00
Christian Goll
c58cacb7cb Merge pull request #1294 from anderbubble/prevent-dist-nesting
Prevent make dist from including previous dists
2024-07-08 07:48:05 +02:00
Jonathon Anderson
8f71cca00f Release v4.5.5
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-05 17:11:34 -06:00
Jonathon Anderson
1d4f3c62db Merge pull request #1268 from Prepultrue/main
Accept + within kernel versions
2024-07-05 15:34:19 -06:00
David McFarlane
5bb73c90c5 Accept + within kernel versions 2024-07-05 15:29:50 -06:00
Christian Goll
2dfd28cb6c Add tests for kernel versions containing +
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-07-05 15:29:37 -06:00
Jonathon Anderson
1c7fdf504f Merge pull request #1260 from mslacken/FixOverlayList
Fix wwctl overlay list completion
2024-07-05 15:20:27 -06:00
Christian Goll
4a4fcc97d4 wwctl overlay list completes existing overlays
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-07-05 15:17:23 -06:00
Jonathon Anderson
f23b95f69f Prevent make dist from including previous dists
`make dist` may accidentially include previously-made dist tarballs;
this change adjusts the target to exclude these tarballs from the dist.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-05 11:16:22 -06:00
Jonathon Anderson
5e0f3d0327 Merge pull request #1286 from mslacken/IgnoreNis
ignore +:: style lines in passwd/group
2024-07-05 01:03:17 -06:00
Jonathon Anderson
0b765d242a Extend new syncuser handling for +/- entries
Since these lines are being omitted in the final sync'd passwd/group
file, a new message indicates that the line is being skipped; but it is
no longer denoted as a parse error.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-04 23:54:46 -06:00
Christian Goll
ba3c24e1c3 ignore +:: style lines in passwd/group
The lines +::::: or +::: are used in passwd/group as
placeholer for users added form the network via ldap/nis/sssd.
These lines should not trigger a warning.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-07-04 23:54:46 -06:00
Christian Goll
d38b6dba95 Merge pull request #1292 from anderbubble/MountSys
mount /sys and /run during container exec
2024-07-04 07:55:18 +02:00
Christian Goll
cfacb4d520 mount /sys and /run during container exec
Also unify mounting of sys, run, proc, and dev as occuring within the
chroot and without bind mounts from the host.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-04 07:54:55 +02:00
Jonathon Anderson
724c42fb43 Merge pull request #1238 from JasonYangShadow/issue/1235
fix the issue that new files created via wwctl overlay edit have permission 755 && removing lines during wwctl overlay edit didn't work
2024-07-03 18:08:47 -06:00
xu yang
371e4d63a6 Fix multiple issues in wwctl overlay edit
- Fixes #1236
- Fixes #1235

Signed-off-by: xu yang <xyang@ciq.com>
2024-07-03 17:57:25 -06:00
Jonathon Anderson
12fd9b5ded Updated CHANGELOG for #1267
Since this is already merged, moved it to v4.5.5.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-02 13:43:31 -06:00
Christian Goll
b2eefdabf4 Merge pull request #1263 from anderbubble/restore-dhcp-static
Restore previous behavior of static dhcp
2024-07-02 09:20:04 +02:00
Christian Goll
4472ca62a9 Merge pull request #1285 from anderbubble/container-build-symlinks-1267
Capture "broken" symlinks during container build
2024-07-02 08:01:36 +02:00
Jonathon Anderson
f620b7afe2 Restore previous behavior of static dhcp
- Disable dynamic pool when using static dhcp
- Populate configuration of non-primary interfaces for static dhcp

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-01 21:43:12 -06:00
Jonathon Anderson
d374fffa3a Fixed CHANGELOG entry for #1270
- Moved to v4.5.5
- Updated wording

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-01 21:21:02 -06:00
Jonathon Anderson
b154e7e191 Fix changelog entry for #1249
- Moved to v4.5.5
- Updated wording

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-01 21:12:50 -06:00