Jonathon Anderson
081d2ec61e
Update linter for golang v1.25 compatibility
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2026-03-11 09:32:49 +01:00
Jonathon Anderson
d968b02153
Fix image completion
...
- Fixes #1734
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-11 10:23:56 -07:00
Jonathon Anderson
f71483035b
Updated overlay flags
...
New flags: `wwctl <node|profile> <add|set> [--runtime-overlays|--system-overlays]`.
Previous flags retained hidden for backwards-compatibility.
- Closes : #1495
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-10 19:17:08 -07:00
Jonathon Anderson
3b963ee5a6
Simplify node, profile, and image completions
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-09 16:38:27 -07:00
Jonathon Anderson
760b6e5217
wwctl <node|profile> overlay list completions
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-09 16:13:53 -07:00
Jonathon Anderson
08a8eb430c
wwctl node args and completions
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-09 16:13:40 -07:00
Jonathon Anderson
4f83885c5b
Show each overlay only once #1675
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-01 13:40:12 +01:00
Jonathon Anderson
45a690ca4e
Rename "container" to "image"
...
- Updated `wwctl upgrade` to handle updates
- Maintained `.Container` and `.ContainerName` in tstruct
- Added `ContainerName()` methods to node and profile objects
- Added `--container`, `-C` aliases to wwctl commands (`<node|profile> <add|set>`)
- Added `wwctl container` alias
- Added support for `container_exit.sh` if `image_exit.sh` is not found
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 05:54:19 -07: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
Jonathon Anderson
0665d5dc88
Refactor node
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:47 -07:00
Jonathon Anderson
a3ede90093
Use "default" netname during add, set
...
- Closes #1499
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 22:40:58 -07:00
Christian Goll
457c7c16b1
wwctl commands without NodeInfo
...
mostly remove Get and calls for the id
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 13:35:42 -04:00
Christian Goll
17a5aaefee
added more aliases for wwctl commands
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-03-20 21:11:14 -06: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
45539a0d1f
Recursive handling for command line flags
...
Every struct in a NodeConf with `lopt:"foo" set is now added as a
command-line flag with the RecursiveCreateFlags call. For maps a struct
with the key UNDEF is added so that it can be parsed out.
As the flags for the command-line need variables which hold the values,
for every map an element map[UNDEF] is added. When now calling the
internal add, these map element can be filtered out and replace by the
given name. (e.g., --netname)
* rewrote node/profile add for recursive functions
* rewrote node/profile set for recursive functions
* rewrote node/profile list for recursive functions
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-08-21 16:19:13 -06:00
Christian Goll
366113bf65
Merge branch 'RefactorFlags' into development
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-23 11:24:47 +01:00
Christian Goll
b0602133ec
use netParseIP and ParseMAC
...
check also MAC addresses and common formating
Signed-off-by: Christian Goll <cgoll@suse.de >
reformat ipaddr for test coverage
fixed processing of default values
updated transformer tests
correct behavior for tags
add tests for tags
new tests for primary network
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-23 11:17:07 +01:00
Christian Goll
13bc378a6b
Refactor the CreateFlags command
...
* added the additional type flag, which can be bool,IP
* UNDEF is recognized for the bool flag
* 0.0.0.0 must be used as UNDEF for IP flag
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-23 11:15:50 +01:00
Christian Goll
2410a8194c
wwctl node add without global variables
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-23 11:11:01 +01:00
Christian Goll
d34e496d42
wwctl node add without global variables
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-08 12:33:05 +01:00
Christian Goll
255ff61dc8
adding netname option back
2022-08-31 17:05:28 +02:00
Christian Goll
b485ea999f
removed optionStrMap in favor of NodeConf
...
openStrMap is a map[string]string which is sent arround. This is now
done by using a unmarshalled NodeConf instead.
2022-08-18 19:22:55 +02:00
Christian Goll
26fff30897
node add with all options now
2022-07-18 14:42:00 +02:00
Christian Goll
55bf1695de
initial commit of simple ipv6 support
...
As soon as in warewulf.conf a value for ipaddr6 is defined
all nodes will get a derived ipv6 address if not the ipv6
is not explicitly set.
2022-03-15 15:57:35 +01:00
Gregory Kurtzer
938511e9cd
Merge branch 'main' of github.com:gmkurtzer/warewulf into netdev_refactor
2021-12-28 15:17:21 -08:00
jcsiadal
0b93d6c277
Update help
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2021-11-08 11:36:21 -08:00
Gregory Kurtzer
498515f7b5
Minor usability fixes in network config
2021-10-23 12:25:51 -07:00
Gregory Kurtzer
1370932cd3
Introduction of netname functionality for network devices
2021-10-23 07:12:57 -07:00
Niko Kivel
16db64f9dc
removed group and controller, added ClusterName
2021-05-14 15:08:58 +02:00
Niko Kivel
3308e76083
NIC type for node-->add
2021-03-26 10:38:31 +01:00
Gregory Kurtzer
72b1d8c9d8
UI Updates with a few minor fixups scattered here and there
2021-01-14 20:23:42 -08:00
Gregory Kurtzer
62a1abaab3
Cleanups and minor fixups
2020-12-13 22:45:08 -08:00
Gregory Kurtzer
8c11c2b304
Renamed vnfs to container, finished VNFS and kernel refactoring
2020-12-06 00:47:00 -08:00
Gregory Kurtzer
eaf6bb1196
This is a work in progress API shift as the data structure has changed and I'm cleaning the interface.
2020-12-03 07:34:26 -08:00
Gregory Kurtzer
43ad7e570c
API updates and fixes to CLI
2020-12-01 23:34:24 -08:00
Gregory Kurtzer
4d752a67db
Added controllers, services, and lots of various optimizations and fixes
2020-11-30 23:07:42 -08:00
Gregory Kurtzer
5cd1dc901e
Lots of updates with the node management CLI tools
2020-11-22 20:35:13 -08:00
Gregory Kurtzer
5181940952
Working through node and group configuration via CLI
2020-11-21 21:51:14 -08:00
Gregory Kurtzer
1d1a02b305
Building set commands for nodes and groups and templating out CLI further
2020-11-21 01:48:38 -08:00