Commit Graph

132 Commits

Author SHA1 Message Date
griznog
eaa8ee592f Update changelog. 2024-01-26 09:09:09 -06: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
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
jason yang
d0b396b89c fix tag ignored issue
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 15:25:48 -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
Jonathon Anderson
5d6ef1882d Remove whitespace damage
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-21 00:18:38 -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
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
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
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
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
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
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
Brian Phan
55880ae37d Update CHANGELOG
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Christian Goll
0e6c67b87c Merge branch 'main' into distro-ipxe 2023-12-21 08:09:36 +01:00
jason yang
231987ecfc fix a bug when replacing existing containers
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-12 17:06:28 -07:00
Christian Goll
7de3c1c5cd Don't panic on malformed passwd
Fixes #527

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 02:05:53 -07:00
Christian Goll
d23e67970d Support importing container with symlinked shell
Fixes #797

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 01:59:05 -07:00
Jonathon Anderson
038329ebce Remove ipxe binaries and configure for Rocky Linux
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-09 01:29:48 -07:00
Christian Goll
7e1cb014c2 use distribution ipxe binaries
exclude .github and .vscode for make dist
honor git tag when generating spec file

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 22:38:57 -07:00
Christian Goll
8cbeb25c8b seperate the path for the iPXE binaries
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 22:38:43 -07:00
Christian Goll
183f8e479c Propagate paths to overlays and use for wwclient
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 21:09:47 -07:00
jason yang
a0cea0f74e remove update_latest_release tag
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 02:43:54 +00:00
Christian Goll
9c798bb13d Merge pull request #1005 from JasonYangShadow/issue/969
add nightly release support
2023-12-06 14:18:18 +01:00
jason yang
3fd2899b1f add nightly release support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-06 13:17:22 +00:00
Andreas Skau
b574ac03ac Went through PR checklist 2023-12-04 16:11:10 +01:00
griznog
a7ec22744e Make WWPROVISIONDIR a first class citizen of the local/shared state location. 2023-11-26 00:08:31 -07:00
Christian Goll
f8805e87a4 merge tags in GetterFrom
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:54:02 -07:00
griznog
5651861c83 Updating Changelog 2023-11-23 09:12:37 -06:00
Jonathon Anderson
edda46feb4 Update CHANGELOG for new builds
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-10-16 10:17:23 +02:00
Christian Goll
539002088c check if entry has real value in recursive getter
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 02:52:53 -06:00
Christian Goll
951dd13866 no error if images for containers don't exist
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 02:26:03 -06:00
Christian Goll
a7056e2bb8 mtu can be set via command line
added also a test for this

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 02:09:06 -06:00
Jonathon Anderson
4cf230cadd Merge pull request #946 from mslacken/MTUScript
set MTU in different network confs
2023-10-14 01:42:54 -06:00
Christian Goll
f4ae168f5a set MTU in different network confs
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 01:00:24 -06:00
Christian Goll
e2603cf8e8 only write ipmi of IpmiWrite is true
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 00:46:50 -06:00
Jonathon Anderson
6c344cd5b0 Refactor ww4test to testenv
- Remove global state
- Remove redundant data
- Remove unused functionality (e.g., file permissions)
- Separate directory creation from file writing
- Additional helper functions for file reading and cleanup

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-13 14:35:28 +02:00
Christian Goll
b5979e41d2 added general testing framework
framework creates all the necessary configuration file for warewulf
under a temporary directory. Individual warewulf.conf and nodes.conf
can be provided.

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-11 12:07:28 +02:00
Christian Goll
84d2389aaf return the primary network interface for discoverd
close #775

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-10 22:40:02 -06:00
Jonathon Anderson
be4d3f9e78 Update CHANGELOG for changes to overlay names
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-09-08 17:40:05 -06:00
Christian Goll
ff7608251a advanced command line completion for wwctl overlay
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-09-13 12:03:43 +02:00
Christian Goll
3acac6077a Merge pull request #897 from mslacken/EphermalMount
Epehermal container mounts on same fs as chroot
2023-09-13 11:24:06 +02:00
Christian Goll
a3e40d62fd Merge pull request #902 from anderbubble/overlay-edit
Update overlay edit with tempfile and mtime
2023-09-11 11:56:55 +02:00
Christian Goll
c98be14fe6 Merge branch 'development' into fixBuildNoNetwork 2023-09-07 12:21:12 +02:00
Christian Goll
39d42c6b97 added @Kangie to Contribnutors
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-09-07 12:17:10 +02:00
Christian Goll
bb0c37763b Revert "add error handling to dynamic network configuration" 2023-09-07 12:09:23 +02:00