Jonathon Anderson
fd8de8bfab
Add WWbool.BoolDefaultTrue()
...
New support in WWbool for booleans that default "true."
Used primarily for NetDev.OnBoot.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-20 01:41:10 -07:00
Jonathon Anderson
e5024038a6
Don't use DHCP for interfaces attached to a bond
...
- Fixes : #1743
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-20 10:16:59 +01:00
Jonathon Anderson
da26fa3061
Added support for a DNSSEARCH netdev tag in network configuration overlays
...
- Closes : #1256
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-14 09:07:09 +01:00
Jonathon Anderson
87da57d1a2
Return "" when NetDev.IpCIDR is empty
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-10 10:26:01 +01:00
Jonathon Anderson
c209dadc1f
Update network interface bonding configuration and documentation
...
- Closes : #1482
- Closes : #1280
This also corrects poor handling of whitespace around the "file" function
throughout the templates, given experiences with the network templates while
implementing the bond behavior. Since the file function actually does produce
output (that is parsed by Warewulf itself) it should not collaps prefix
whitespace.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
a18913924d
Benchmarking for wwctl overlay build
...
- Benchmarks overlay build in an environment with 1000 nodes
- Updates testenv to support both benchmarks and tests
To execute:
```
go test github.com/warewulf/warewulf/internal/app/wwctl/overlay/build -bench Benchmark_Overlay_Build
```
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-25 12:34:23 -07:00
Jonathon Anderson
8a602e8a76
Return OnBoot to wwtype.WWbool
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:55 -07:00
Jonathon Anderson
a7325b6ffa
Remove WW_INTERNAL
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:54 -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
36d6ea1b7b
NetworkManager manages any known device or mac
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-30 06:04:44 +00:00
xu yang
9f10e90fdb
fix unmanaged issue
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-30 06:04:40 +00:00
Jonathon Anderson
bb5d1d17ed
Revert NetDevs.Manual back to NetDevs.OnBoot
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-17 23:00:57 -04:00
Jonathon Anderson
805704ce08
Minimize nodes.conf for overlay tests
...
Also updated issue to show both configured and detected address.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-17 16:43:31 -04:00
Christian Goll
0c6e7cc58a
fixes for split overlays
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:39:54 -04:00
Christian Goll
c08cd82e68
don't use net.IPMask
...
net.IPMask doesn't have any advantages, as it would
marshalled to
mask:
- 1
- 2
- 3
- 4
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:54 -04:00
Christian Goll
9fdb9ca792
updated overlays
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:54 -04:00
Jonathon Anderson
053dd9953a
Split overlays into discrete functionality and test
...
- Closes #987
To make the overlays testable in isolation, and after discussion with
the TSC, removed host/time/source from overlay files.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-09-26 10:48:38 -06:00