Commit Graph

2200 Commits

Author SHA1 Message Date
Christian Goll
36686d4455 fixed kmod creation
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 23:23:15 -07:00
Christian Goll
67e526d726 added test and reafctorred kernel.Build
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 23:23:15 -07:00
Jonathon Anderson
8d8812468a Merge pull request #952 from mslacken/OverlayMerge
overlays from different profiles are merged
2024-01-17 23:18:17 -07:00
Jonathon Anderson
a602971146 Avoid reporting an empty "from" value
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 23:12:35 -07:00
Jonathon Anderson
342e3329e1 Fix formatting with make fmt
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 22:04:10 -07:00
Christian Goll
d6ef1a86ce prpfiles can be exluded with ~ prefix
Used the ~ as prefix as ! will mess up with yaml syntax

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 22:04:05 -07:00
Christian Goll
85eaa20708 overlays from different profiles are merged
If a node contains several profiles and these profiles have
overlays attached, these profiles are now merged. Overlays
can't be excluded as this can not be displayed to the user

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 21:51:05 -07:00
Jonathon Anderson
67998ce6b6 Merge pull request #859 from mslacken/grubBoot
grub netboot implementation
2024-01-17 19:25:05 -07:00
Jonathon Anderson
3123329ba1 Correct grub package name for el9
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
1c87ce1367 Remove automatic setting of default container
Since grub support no longer depends on a default container, no longer
automatically set default container on import.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
3efa812b5c Refactor boot-management and clarify grub tech preview status
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
72d56e4e56 Include a configuration example for grubboot
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
9569c46210 Restore functionality of the static dhcp template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Christian Goll
fc1174c114 better systemd detection
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
725176cfed cleanup code after review
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
4379c4c18d use grub/shim from host system
Also the boot method is now configured globaly as this is
the only way to make sure that unkonwn nodes get the right
stuff

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
938eff2cfa linking the template and for dhpcd.conf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
724441dc79 added test for shim and efi send
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
0808f76317 added Documentation for grub boot
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
0c9bf78cd0 using ProvisionSend instean of GrubSend
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
60dc8f6251 enable grub boot for all nodes
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
03ef7447e9 copy shim/grub on default profile container change
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
2fe98e5f55 default profile needs to have a container
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
a36cb23319 added shim/grub find to provision process
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
4cacd0ef75 added grub.cfg.ww
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
41c2890232 Merge pull request #1040 from anderbubble/transfer-warewulf-node-images
Update path to warewulf-node-images
2024-01-16 10:21:19 -07:00
Jonathon Anderson
04a0b0e4cf Update path to warewulf-node-images
warewulf-node-images has moved to
github.com/warewulf/warewulf-node-images

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-16 00:23:12 -07:00
Jonathon Anderson
1ba7493de7 Merge pull request #1003 from hpcng/SeperateStreams
separate writer for wwlog.Info
2024-01-15 23:29:14 -07:00
Christian Goll
5efaf6d9f5 added extra OUTPUT level
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:22:00 -07:00
Christian Goll
aaadf26b90 separate writer for wwlog.Info
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:13:03 -07:00
Jonathon Anderson
6f7e85e505 Merge pull request #1033 from brianclemens/main
Update website repo URL
2024-01-10 20:25:45 -07:00
Brian Clemens
648ebe2abc Update website repo URL
Signed-off-by: Brian Clemens <brian@ciq.com>
2024-01-11 11:04:13 +09:00
Jonathon Anderson
f46abf86dc Merge pull request #1028 from anderbubble/warewulf-slack-invite
Update Slack invite for Warewulf Slack
2024-01-04 18:06:11 -07:00
Jonathon Anderson
7a8ae36fe0 Merge pull request #1027 from anderbubble/suppress-vendor-errors
Suppress vendor errors in makefile
2023-12-30 10:15:03 -07:00
Jonathon Anderson
f8760310dd Suppress golang vendor errors during dependency resolutions
The godeps macro is used by the Makefile to determine if golang binaries need
to be rebuilt based on changes to their dependencies, which may include
libraries in vendor. This produces errors if the vendor directory is not
present.

This change suppresses error messages during dependency resolution.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-30 08:11:22 -07:00
Christian Goll
8391b2d28b Merge pull request #1026 from anderbubble/build-ipxe
Update iPXE build script
2023-12-30 13:32:14 +01:00
Jonathon Anderson
4b92e63082 Update Slack invite for Warewulf Slack
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-24 11:17:37 -07:00
Jonathon Anderson
7f42cdc8b5 Update iPXE build script
Replace `ipxe-update.sh` with `scripts/build-ipxe.sh`.

* correctly builds for arm64
* supports additional configuration from environment variables
* intended for use on an installed system

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-23 19:15:40 -07:00
Christian Goll
72b7f0aa5c Merge pull request #1017 from brianphan/fix-10-persistent-net-link
Update 10-persistent-net.link.ww
2023-12-22 11:00:24 +01:00
Christian Goll
70d08764ee Merge pull request #1023 from anderbubble/distro-ipxe-path-fix
Fix relative iPXE paths
2023-12-22 10:58:19 +01:00
Jonathon Anderson
a20f4bbcea Minor formatting fixes for persistent-net template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:11:34 -07:00
Jonathon Anderson
b49e770118 Specify persistent-net comment block per-file
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:10:47 -07:00
Jonathon Anderson
07dbd5b2a7 Only set persistent-net name if device is specified
persistent-net should not use the warewulf interface name as a default device
name because the network configuration scripts don't.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:09:20 -07:00
Jonathon Anderson
feeb6211af Remove device: eth0 from dummy interface
With eth0 specified as the default interface device, all interfaces by default
were attempted to be renamed to eth0. This didn't break before because device
renaming wasn't working for multiple interfaces in general; but now that it's
fixed, we should no longer be setting a default interface name.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 22:11:44 -07:00
Brian Phan
55880ae37d Update CHANGELOG
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Brian Phan
59830dc549 Update file name of rendered file
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Brian Phan
9fdcdceb04 Update 10-persistent-net.link.ww
Update Warewulf template to generate a file per network device.

Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Jonathon Anderson
6e93e8f3a8 Fix relative ipxe paths
IPXESOURCE is pointing to /usr/share/ipxe/ by default, so the `ipxe/`
directory should not be included in the compiled-in relative defaults.

Fixes a bug in #1010

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 20:21:49 -07:00
Christian Goll
6586abb664 Merge pull request #1010 from anderbubble/distro-ipxe
Use distribution iPXE
2023-12-21 08:48:36 +01:00
Christian Goll
0e6c67b87c Merge branch 'main' into distro-ipxe 2023-12-21 08:09:36 +01:00