Commit Graph

455 Commits

Author SHA1 Message Date
Christian Goll
f65607190e added documentation for site overlays
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-12-20 11:12:46 +01:00
Christian Goll
e8f7c01283 Merge pull request #1595 from anderbubble/removeInit
Configure nodes.conf dynamically from config
2024-12-20 11:00:27 +01:00
Jonathon Anderson
39707eaccf Add tests for localtime overlay and make configurable
localtime overlay can now be configured with a "localtime" tag.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-17 18:48:00 -07:00
Christian Goll
88016309a9 soft link documentation
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-12-17 18:48:00 -07:00
Jonathon Anderson
a80ba8ee01 Configure nodes.conf path dynamically from config
Removes the use of init() to initialize the variable.

- Closes: #1596
- See also: #1569

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-17 11:04:43 -07:00
Ian Kaufman
1d3cb6f153 Add Netplan NIC support for Debian/Ubuntu #1463
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-10 19:41:27 -07:00
Jonathon Anderson
c18bcfe3bd Support importing containers from directories containing a socket
- Fixes #892

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-09 11:19:48 -07:00
Jonathon Anderson
6f4d33b19e Move wwctl kernel list to wwctl container kernels
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-09 10:02:28 +01:00
Jonathon Anderson
098c288ce2 Provide detected kernel version to overlay templates
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-09 10:02:28 +01:00
Jonathon Anderson
a844379bc5 Merge --kerneloverride into --kernelversion
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-09 10:02:28 +01:00
Jonathon Anderson
8f21d54243 Refactor kernel support
- Remove kernel imports and kmods images
- Repurpose KernelOverride as container path
- Support Kernel.Version as version prefix for kernel selection
- Compare initramfs by version

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-09 10:02:22 +01:00
Christian Goll
d87ed27d8d Merge pull request #1580 from anderbubble/runc-1.1.14
Update github.com/opencontainers/runc to 1.1.14
2024-12-09 09:35:46 +01:00
Christian Goll
477a7c39da Merge pull request #1579 from anderbubble/known-issues
Initial documentation for "known issues"
2024-12-04 21:14:17 +01:00
Jonathon Anderson
8f02e932a4 Update github.com/opencontainers/runc to 1.1.14
Addresses https://github.com/warewulf/warewulf/security/dependabot/64

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-03 22:17:38 -07:00
dependabot[bot]
396a3c6030 Bump github.com/golang/glog from 1.2.0 to 1.2.3
Bumps [github.com/golang/glog](https://github.com/golang/glog) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/golang/glog/releases)
- [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/golang/glog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 17:16:09 -07:00
dependabot[bot]
c6f5f58d02 Bump github.com/Masterminds/sprig/v3 from 3.2.3 to 3.3.0
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/Masterminds/sprig/releases)
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.3...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 17:01:41 -07:00
Jonathon Anderson
0518af3da2 Initial documentation for "known issues"
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-03 16:24:32 -07:00
Christian Goll
d584c14403 Merge pull request #1564 from anderbubble/issues/1447
Use a sentinel file to determine container readonly state
2024-12-02 09:03:02 +01:00
Jonathon Anderson
07f6402520 Use a sentinel file to determine container readonly state. #1447
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-29 10:37:52 -07:00
Christian Goll
ab0eddea53 Merge pull request #1565 from anderbubble/issues/1419
Remove wwctl overlay build --host
2024-11-28 08:43:05 +01:00
Jonathon Anderson
e098455f7c Fix display of profiles in node list
- Closes #1496

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-25 11:32:03 +01:00
Jonathon Anderson
eace23802f Remove wwctl overlay build --host #1419
Remove the ability to "build" the host overlay with `wwctl overlay
build`. This also obsoletes the `--nodes` flag, which is also removed.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-24 22:48:19 -07:00
Jonathon Anderson
5834b82f93 Format errors in logs as strings
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-23 22:47:48 -07:00
Jonathon Anderson
cc88795495 Fix CHANGELOG for #1004
- Move #1004 change to v4.6.0
- Remove redundant v4.5.6 header

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-15 16:20:29 -07:00
Christian Goll
8f196a9dce added test for sending grub.cfg.ww
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-14 19:25:48 -07:00
Christian Goll
68f62ed0a1 fix problem that tags don't show up in overlay
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-14 19:25:22 -07:00
Christian Goll
c0d2e3714c add tag to tags not nettag
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-14 17:17:43 -07:00
dependabot[bot]
696d4437f7 Bump github.com/fatih/color from 1.17.0 to 1.18.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.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>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-14 17:11:04 -07:00
dependabot[bot]
5827c959bb Bump github.com/containers/image/v5 from 5.30.1 to 5.32.2
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-14 17:02:13 -07:00
Jonathon Anderson
d57056fe88 Merge pull request #1513 from warewulf/dependabot/go_modules/main/github.com/grpc-ecosystem/grpc-gateway/v2-2.23.0
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.19.1 to 2.23.0
2024-11-14 16:50:26 -07:00
Jonathon Anderson
7b1adf4c12 Simplified CHANGELOG and iPXE error messages
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-13 21:50:03 -07:00
xu yang
7a63e517f7 fix issue that initrd fails at downloading runtime overlay with permission denied error, when warewulf secure option in warewulf.conf is enabled
Signed-off-by: xu yang <xyang@ciq.com>
2024-11-13 21:50:03 -07:00
Christian Goll
d1c734732f better udev rules
Renamed 70-ww4-netname.rules.ww to 70-persistent-net.rules.ww.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-13 17:44:48 -07:00
dependabot[bot]
dee7257ace Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.19.1 to 2.23.0
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.19.1 to 2.23.0.
- [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.19.1...v2.23.0)

---
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>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-13 02:08:02 +00:00
Timothy Middelkoop
e4a721d87e Remove debian.interfaces from nodes.conf
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2024-11-12 14:46:12 +01:00
Timothy Middelkoop
df6242d66f Fix dhcp template for static template
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2024-11-12 14:46:06 +01:00
Christian Goll
a9eb4c3e26 Merge pull request #1524 from anderbubble/refactor-node-and-upgrade
Support cross-version upgrades
2024-11-11 10:45:47 +01:00
Xu Yang
0c2fc13a1d fix issue that --neettagdel does not work properly
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-11-11 07:54:05 +00:00
Jonathon Anderson
2bae87e244 Documentation for wwctl upgrade
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-11 00:09:46 -07:00
Jonathon Anderson
404f03c976 Merge pull request #1004 from mslacken/CallImpiTemplate
Use templates for power calls
2024-11-08 09:41:46 -07:00
Christian Goll
c23537e74a don't update ipmi if there is no password
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 23:06:26 -07:00
Christian Goll
b422fd8de2 added template for nodes without bmc
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 23:01:32 -07:00
Christian Goll
0dd0317740 replaced errors.Wrap with fmt.Errorf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 22:57:29 -07:00
Jonathon Anderson
a8554b0af5 Replace olekukonko/tablewriter with cheynewallace/tabby
- Closes #1497
- Closes #1498

This library is simpler and doesn't produce extraneous whitespace around
the output.

A local helper function restores "--" for empty output.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:44:50 -07:00
Jonathon Anderson
0cb4db946c Add support for VLANs and static routes #1257
- NetworkManager
- wicked
- ifcfg
- debian.network_interfaces

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:17:19 -07:00
Jonathon Anderson
cec95b14f0 Update default warewulfd port to match initial configuration
We've been shipping a warewulf.conf that defines the warewulfd port as
9873, and a firewalld service that uses this port as well; but the
default value in the YAML data-structure has been 9983.

This changes the default port to 9873 to match the configuration we've
been shipping, and removes the port from the initial configuration file
(to use the default value).

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:07:05 -07:00
Jonathon Anderson
23d8dba7e4 Don't package the API in RPM packages by default
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 18:23:27 -07:00
griznog
6c617d225b Merge pull request #1516 from anderbubble/remove-3s-delay
Remove an unnecessary 3s boot from iPXE
2024-11-06 18:56:16 -06:00
Jonathon Anderson
a0c58e4183 Simplify passing of arguments through wwctl container exec
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 15:43:14 -07:00
Jonathon Anderson
94ee0a5bd9 Remove an unnecessary 3s boot from iPXE
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 19:07:19 -06:00