Commit Graph

528 Commits

Author SHA1 Message Date
Christian Goll
13349bbf66 adding WAREWULF_OCI vars to wwctl
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-09-04 20:52:43 +02:00
Jonathon Anderson
73c70da4ef Refactor url build in wwclient with url.URL
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-04 14:06:56 +02:00
Elmar Pruesse
64f7b6c5b2 Fix dracut command in docs
The current command line works correctly only if one kernel is
installed. It picks the oldest if there are multiple, which is rather
unlikely to be correct. Using "tail" instead of "head" would work also,
but --regenerate-all makes it briefer and safer.
2024-09-03 22:56:17 -06:00
xu yang
6212f40e4c Refine wwctl configure error handling
- Closes #1273

Signed-off-by: xu yang <xyang@ciq.com>
2024-09-03 19:40:28 -06:00
Jonathon Anderson
a36427d1b2 Moved #1349 CHANGELOG to v4.5.7
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-03 16:13:57 -06:00
griznog
2e01d57967 Update CHANGELOG for PR. 2024-08-21 06:33:07 -05:00
Jonathon Anderson
09c17551e8 Release v4.5.6
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-05 08:20:43 -06:00
Christian Goll
964902a611 Merge pull request #1305 from anderbubble/selinux-docs-fix
Update selinux documentation to reference an example
2024-08-05 09:30:45 +02: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
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
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
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
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
6fa369bc4d Update selinux documentation to reference an example
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-08-02 11:34:53 -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
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
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
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
Jonathon Anderson
8f71cca00f Release v4.5.5
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-05 17:11:34 -06:00
David McFarlane
5bb73c90c5 Accept + within kernel versions 2024-07-05 15:29:50 -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
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
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
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
Jonathon Anderson
7abfef6665 Fix CHANGELOG entry for #1266
Move entry to v4.5.5 and update wording.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-01 21:02:05 -06:00
Jonathon Anderson
75d9ac5fb2 Capture "broken" symlinks during container build
- Fixes #1267

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-07-01 17:12:25 -06:00
Christian Goll
d233b4f71d Merge pull request #1270 from jeburks2/wwclient_dmidecode
Asset-tag fixes in dhcpd.conf.ww and wwclient
2024-06-24 16:42:29 +02:00
xu yang
170d03e751 fix the issue that system/runtime overlays are not auto-rebuilt
Signed-off-by: xu yang <xyang@ciq.com>
2024-06-19 09:31:32 +00:00
Josh Burks
dd6b419440 added asset-tag to ipxe script request fix #1110
Signed-off-by: Josh Burks <jeburks2@asu.edu>
2024-06-18 09:23:18 -07:00
Josh Burks
a26370c8a2 updated changelog
Signed-off-by: Josh Burks <jeburks2@asu.edu>
2024-06-18 09:13:15 -07:00
Tobias Ribizel
2681ccd8fa Add changelog entry
Signed-off-by: Tobias Ribizel <mail@ribizel.de>
2024-06-17 00:04:48 +02:00
Jonathon Anderson
d42f0f8f38 Release v4.5.4
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-12 14:10:50 -06:00
Jonathon Anderson
5bb13c8baf Fix regression in container exec argument parsing
- Fixes #1250

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-11 23:57:58 -06:00
xu yang
6abaa4dfda fix nightly build invalid format issue
Signed-off-by: xu yang <xyang@ciq.com>
2024-06-12 03:48:28 +00:00
dependabot[bot]
797f3bcc2e Bump github.com/coreos/ignition/v2 from 2.15.0 to 2.19.0
Bumps [github.com/coreos/ignition/v2](https://github.com/coreos/ignition) from 2.15.0 to 2.19.0.
- [Release notes](https://github.com/coreos/ignition/releases)
- [Changelog](https://github.com/coreos/ignition/blob/main/docs/release-notes.md)
- [Commits](https://github.com/coreos/ignition/compare/v2.15.0...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/ignition/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:35:58 -06:00
dependabot[bot]
a2e0982a9a Bump github.com/fatih/color from 1.15.0 to 1.17.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:29:03 -06:00
dependabot[bot]
fbdbdfe0de Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:26:00 -06:00
dependabot[bot]
e95f780209 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.19.1
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.18.0 to 2.19.1.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.0...v2.19.1)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:16:53 -06:00
Jonathon Anderson
a0bec6bf60 Merge pull request #1247 from warewulf/revert-1243-hotfix_add_go_tidy 2024-06-08 12:05:57 -06:00
Jonathon Anderson
a96157a4b0 Release v4.5.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-07 17:35:40 -06:00
Jonathon Anderson
28ba479cf3 Merge pull request #1182 from mslacken/CleanupAfterShell
Fix overlay directory location/creation
2024-06-07 14:26:24 -06:00
Jonathon Anderson
66a23900e9 Revert "run go mod tidy after go mod vendor" 2024-06-07 11:15:49 -06:00