Commit Graph

2359 Commits

Author SHA1 Message Date
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
Christian Goll
c5be8b860a Merge pull request #1213 from griznog/doc-fix-1085
doc fix 1085
2024-05-06 08:09:23 +02:00
John Hanks
52ba17480c Updating CHANGELOG 2024-05-05 17:13:11 -05:00
John Hanks
1ddb4a877d Replace --addprofile with --profile 2024-05-05 17:12:48 -05:00
snehring
8971b707f3 Add change to CHANGELOG.md 2024-05-01 16:30:07 -05:00
snehring
6e6344830d Reorder dnsmasq config template to put iPXE last.
Signed-off-by: snehring <snehring@iastate.edu>
2024-05-01 16:22:06 -05:00
Jonathon Anderson
a164498aa5 Documentation for SSH key type configuration
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-01 14:27:39 -06:00
Jonathon Anderson
7046c6dc8c Use the first configured ssh key type for authn
Previously, the authentication key was always generated using rsa. Now
it uses the first configured ssh key type.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-01 14:27:39 -06:00
Christian Goll
21150d2975 make created ssh keys configureable
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-05-01 14:27:39 -06: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
Jonathon Anderson
25c0eca21a Merge pull request #1211 from anderbubble/v4.5.1-docs-update
Update docs for v4.5.1 release
2024-05-01 13:52:13 -06:00
Jonathon Anderson
edce316192 Update docs for v4.5.1 release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-05-01 13:47:35 -06:00
Jonathon Anderson
06a50a0a8c Merge pull request #1200 from JasonYangShadow/issue/1195
fix the nightly release build failure
2024-05-01 00:20:47 -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
fbc69ad3c8 Merge pull request #1210 from anderbubble/v4.5.1-release
v4.5.1 release
2024-04-30 23:46:26 -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
f41f1542ec Merge pull request #1206 from anderbubble/syncuser-groups
Fix parsing of /etc/group during syncuser
2024-04-30 23:29:44 -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
c62e190229 Merge pull request #1207 from anderbubble/syncuser-walk-write-only
Only walk the filesystem during syncuser if writing
2024-04-30 23:23:41 -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
Jonathon Anderson
ad2992c40b Merge pull request #1113 from mslacken/FixList
Correct output for wwctl node list -a for slices
2024-04-19 22:53:59 -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
fc80c4745c add various tests for wwctl node list -a
Altough getting and setting values is correct, `wwctl list -a`
will print superseded values as a list and mark them not as
superseded. Tests will fail after this commit.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 22:24:54 -06:00
Jonathon Anderson
63ee251714 Merge pull request #1145 from mslacken/ShimGrubArm
Tests and fix for shim and grub detection on aarch64
2024-04-19 16:38:04 -06:00
Christian Goll
2ba9efa57c created kernel.FindKernel reduces code complexity
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:12:22 -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
16f5b7408e added tests for BootLoaderFindPath for x86/aarch64
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:10:57 -06:00
Jonathon Anderson
4f2e50b20c Merge pull request #1198 from anderbubble/get-version-lightweight-tags
Use lightweight tags when generating version
2024-04-18 19:21:18 -06:00
Jonathon Anderson
f27e28dd18 Use lightweight tags when generating version
GitHub tags for draft releases are lightweight tags.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 19:20:02 -06:00
Jonathon Anderson
26a4c30947 Merge pull request #1197 from anderbubble/fetch-history-during-release
Fetch all history during tagged-release
2024-04-18 17:13:27 -06:00
Jonathon Anderson
aa9229a67c Fetch all history during tagged-release
Tags are required during tagged-release, but attempting to fetch only
tags caused an error of the form:

    Cannot fetch both <sha> and refs/tags/<name> to refs/tags/<name>

Switching to just downloading all history.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 17:11:17 -06:00
Jonathon Anderson
475fb92549 Merge pull request #1196 from anderbubble/fetch-tags-during-release
Fetch tags during tagged-release
2024-04-18 17:05:44 -06:00
Jonathon Anderson
6d5a7735d9 Fetch tags during tagged-release
Tags are required for dynamic version generation.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 17:04:28 -06:00
Jonathon Anderson
ca1032f627 Merge pull request #1194 from anderbubble/fix-release-workflows-2
Update tagged-release to accommodate new artifact names
2024-04-18 15:09:57 -06:00
Jonathon Anderson
79b8853cd8 Update tagged-release to accomodate new artifact names
Dynamic versioning of Warewulf releases broke the release process. This
simplifies and fixes finding of release artifacts during tagged-release.

This also removes CentOS 7 as a release target, as previous attempts to
fix building on CentOS 7 by omitting the API still failed to run the
testsuite.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 14:52:54 -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
Jonathon Anderson
cced011cb0 Merge pull request #1055 from mslacken/OverlyName
added {{ .Overlay }} to templates
2024-04-17 21:43:59 -06:00
Jonathon Anderson
ab881dbb37 Add Overlay variable to debug template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 21:40:36 -06: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
Jonathon Anderson
1c6a84f517 Merge pull request #1175 from mslacken/LockNodeStatus
add a read write mutex for node status
2024-04-17 12:59:36 -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
80450bd4b4 Merge pull request #1133 from anderbubble/docs-firewall-dhcp
Add dhcp to firewall configuration in quickstart
2024-04-17 12:50:59 -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
728540a342 Merge pull request #1178 from anderbubble/v4.5.1-changelog-prep
Update CHANGELOG to anticipate v4.5.1
2024-04-17 12:39:07 -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