Commit Graph

222 Commits

Author SHA1 Message Date
Jonathon Anderson
18cebb8652 New warewulf-dracut subpackage
warewulf-dracut includes a dracut module to be installed in a container
image to support building an initramfs that can boot from Warewulf.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-06 03:15:08 -04:00
xu yang
a322061fe9 Add initramfs stage to warewulfd
The initramfs stage supports serving an initramfs image from within the
container image, typically generated by dracut.

Signed-off-by: xu yang <xyang@ciq.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-06 03:14:21 -04:00
Christian Goll
68ca92244d wwctl configure --all calls SSH(keys)
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-06-03 19:36:01 -06:00
Jonathon Anderson
6b8ca378d8 Refactor syncuser to reduce walking the container fs
- Closes #1209

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-06-03 19:18:25 -06:00
Xu Yang
b3d8f9ccc5 add CIDR format to warewulf.conf parse
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-05-31 23:36:35 -06:00
Jonathon Anderson
a9b226b3dd Update #1215 for backport to v4.5.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-31 23:23:13 -06:00
griznog
c7ad95136a Point URL to warewulf github instead of hpcng 2024-05-31 23:16:52 -06:00
dependabot[bot]
3b60522540 Bump golang.org/x/net from 0.22.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-31 23:05:52 -06:00
griznog
c99d385f47 Replace ref to docusaurus with Sphinx 2024-05-31 22:58:13 -06:00
Jonathon Anderson
71a39557b0 Update PR #1227 for v4.5.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-31 22:49:46 -06:00
griznog
5757162b76 Parallel overlay building examples. 2024-05-23 16:35:27 -07:00
Jonathon Anderson
08b45ed055 Update to release v4.5.2
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-13 21:21:02 -06:00
Christian Goll
9f1062263b Update a dependency to address CVE-2024-3727
see https://github.com/containers/image/releases/tag/v5.30.1

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-05-13 20:59:06 -06:00
David McFarlane
41535cb8f9 Also prevent provisioning arbitrary overlays in secure mode
Signed-off-by: David McFarlane <54093156+Prepultrue@users.noreply.github.com>
2024-05-08 11:37:20 +10:00
Jonathon Anderson
87c7d0dda3 Document HTTP proxy environment variables
For use in wwctl container import.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-06 23:51:53 -06:00
Jonathon Anderson
8b5c26d5a5 Update top-level changelog to identify v4.6.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-06 16:29:16 -06:00
Jonathon Anderson
08e4aa6078 Update 1213 changelog entry for v4.5.2
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-06 16:26:41 -06:00
Christian Goll
0990c3ecdb Merge pull request #1187 from mslacken/SetSSHKeys
allow the user to specify ssh key types
2024-05-06 11:12:06 +02:00
Christian Goll
5fc512747f Merge pull request #1205 from ResearchIT/dnsmasq-ipxe-fix
Reorder dnsmasq config template to put iPXE last
2024-05-06 10:13:59 +02:00
John Hanks
52ba17480c Updating CHANGELOG 2024-05-05 17:13:11 -05:00
snehring
8971b707f3 Add change to CHANGELOG.md 2024-05-01 16:30:07 -05:00
Christian Goll
ad6699c110 allow the user to specify ssh key types
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-05-01 14:27:36 -06:00
xu yang
53cf8b5845 fix the nightly release build failure
Signed-off-by: xu yang <xyang@ciq.com>
2024-05-01 00:08:10 -06:00
Jonathon Anderson
67d30c73bb v4.5.1 release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-30 23:44:19 -06:00
Jonathon Anderson
03aae1a1d9 Fix parsing of /etc/group during syncuser
- Closes #1202

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-30 23:27:06 -06:00
Jonathon Anderson
addde549ff Only walk the filesystem during syncuser if writing
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-25 14:42:56 -06:00
Christian Goll
76a40f1364 Entry is aware if its ment as a slice or not
This is needed for printing out the values, as at this part in the
code there is no access to the NodeConf and only there the information
if the Entry is ment as a slice or not is available.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 22:28:05 -06:00
Christian Goll
b192e3b5d5 fixed ShimFind for aarch64
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:12:21 -06:00
Christian Goll
0286bcae8a Merge pull request #1193 from anderbubble/omit-api-el7
Don't build the API for CentOS 7
2024-04-18 06:53:11 +02:00
Christian Goll
5c23a4cdde added {{ .Overlay }} to templates
{{ .Overlay }} contains the overlay name in which the template is
located, or an empty string if RenderTempalte is called outside the
warewulf overlay tree.

- Closes #1052

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-17 21:40:32 -06:00
Jonathon Anderson
864a4e7447 Don't build the API for CentOS 7
A recent security update breaks compatibility with CentOS 7 through
gpgme. This change omits building the API by default and does not build
it when packaging for EL 7.

- Closes #1171

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 19:54:18 -06:00
Christian Goll
71f5d42942 Add a read write mutex for node status
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-17 12:55:02 -06:00
Jonathon Anderson
a31f1e7954 Add dhcp to firewall configuration in quickstart
For some reason, adding dhcp as a firewalld service wasn't required for dhcpd;
but it appears to be required for dnsmasq.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 12:46:50 -06:00
Jonathon Anderson
9636bfe6a1 Update CHANGELOG to anticipate v4.5.1
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 12:35:59 -06:00
Jonathon Anderson
f07401ce41 Calculate VERSION and RELEASE dynamically from git
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 19:48:26 -06:00
Jonathon Anderson
ad0a6eac6e Update changelog for runc-1.1.12
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 18:07:13 -06:00
Jonathon Anderson
f9d197673d Update changelog for go-jose.v2-2.6.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 17:59:30 -06:00
Jonathon Anderson
d3e3e4f53d Update changelog for go-jose/v3-3.0.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 17:45:06 -06:00
Jonathon Anderson
2fd58bcdbf Update changelog for docker/25.0.5+incompatible
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-04 22:47:47 -06:00
Jonathon Anderson
5c6375c8ef Update changelog for umoci-0.4.7
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-04 00:18:51 -06:00
Christian Goll
46bed17a5b change ipxe at built time
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-03 23:38:55 -06:00
Jonathon Anderson
bd468537ed Never attempt to build protocol buffers offline
Building protocol buffers requires fetching utilities from the
Internet. Typically this is done at development time and the finished
buffers are included in dist; but if timestamps get off this can lead
mock to try to rebuild them during an offline build, causing the build
to fail.

This change moves all of the protoc targets into a section of the
Makefile that is disabled during an offline build.

- Closes #1155

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 16:55:08 -06:00
Jonathon Anderson
ef7f25b241 Update changelog for image/v5-5.30.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 15:56:06 -06:00
Jonathon Anderson
45efa424ba Update changelog for protobuf-1.33.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 15:25:25 -06:00
Jonathon Anderson
c544930447 Update changelog for grpc-1.62.1
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 14:49:09 -06:00
Jonathon Anderson
1b0f861c3e Update changelog for storage-1.53.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 14:43:59 -06:00
Jonathon Anderson
8f0a74a527 Update changelog for image-spec-1.1.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-28 14:31:16 -06:00
Jonathon Anderson
24ae9305ce Document overriding paths in warewulf.conf
- Close: #635

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-25 15:19:37 -06:00
Xu Yang
2d1a39a3ee add support for rendering host tempalte
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-25 00:55:35 -06:00
Christian Goll
122a366586 Merge pull request #1149 from JasonYangShadow/golang_upgrade
upgrade golang version to 1.20
2024-03-22 09:05:49 +01:00