Commit Graph

2323 Commits

Author SHA1 Message Date
Andreas Henkel
ae734ed969 Merge pull request #1 from henkela/henkela-patch-1
Update ww4-disks.target.ww
2024-01-30 07:29:32 +01:00
Andreas Henkel
6221e780e6 Update ww4-disks.target.ww
Fixed Prequisite to Requisite
2024-01-29 19:42:34 +01:00
Christian Goll
adad227cb0 Merge pull request #1059 from anderbubble/github-transfer
Complete transfer of Warewulf from HPCng
2024-01-27 09:35:01 +01:00
Jonathon Anderson
a1832ad8c1 Complete transfer of Warewulf from HPCng
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-26 21:35:04 -07:00
Christian Goll
4fd05aa554 Merge pull request #1058 from hpcng/boot-from-disk
Boot from disk via ipxe.
2024-01-26 16:20:26 +01:00
griznog
eaa8ee592f Update changelog. 2024-01-26 09:09:09 -06:00
griznog
e13cdb35ff An ipxe script to boot from local disk. 2024-01-26 09:08:16 -06:00
Jonathon Anderson
8ce1ede800 Merge pull request #1051 from JasonYangShadow/issue/804
move hostlist code into internal folder
2024-01-24 22:01:45 -07:00
jason yang
c0b9c0996a move hostlist code into internal folder
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 22:00:07 -07:00
Jonathon Anderson
f469065dca Merge pull request #1038 from JasonYangShadow/issue/1025
change message level from warn to debug
2024-01-24 21:41:41 -07:00
jason yang
8f7b8b641b change message level from warn to debug
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 21:36:19 -07:00
Jonathon Anderson
69e9cf7e85 Merge pull request #1022 from JasonYangShadow/issue/583
add container rename support
2024-01-24 19:59:41 -07:00
Jonathon Anderson
3e5b1a8312 Merge pull request #1045 from JasonYangShadow/issue/967
Fix the issue that the same tag added via `node set` is ignored
2024-01-24 15:59:51 -07:00
jason yang
d0b396b89c fix tag ignored issue
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 15:25:48 -07:00
Jonathon Anderson
eded560cbc Use "mv" as the alias for "rename"
The `mv` command is typically used to rename files in a Linux
environment, so keep that convention here for container rename.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-24 15:11:21 -07:00
Jonathon Anderson
45542827dd Remove built images when renaming a container
Renaming a container causes its images to be abandoned in the previous
name. This causes those images to be removed after a successful rename.

New images can be rebuilt during the rename using the `--build`
argument.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-24 15:11:21 -07:00
Jonathon Anderson
acfd70a645 Return an error if rename arguments != 2
The original implementation presented a warning if more than two
arguments were presented, and didn't handle the case where fewer than
two arguments were provided. This change requires precisely two
arguments and returns an error otherwise.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-24 15:11:21 -07:00
jason yang
d262ec10ef Add container rename support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 15:11:16 -07:00
Christian Goll
7d17bcc6fa Merge pull request #1048 from anderbubble/whitespace-fix
Remove whitespace damage
2024-01-22 09:07:22 +01:00
Jonathon Anderson
5d6ef1882d Remove whitespace damage
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-21 00:18:38 -07:00
Jonathon Anderson
5b0de8ea53 Merge pull request #934 from mslacken/FixKmod
Fix empty kernel modules and drivers
2024-01-17 23:42:25 -07:00
Christian Goll
bd54993e16 refactored FindFiles
Previous version relied on fspath.Math which didn't match
nested sub directories.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 23:23:15 -07:00
Christian Goll
11b26e7e8c added symlink testing
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 23:23:15 -07:00
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