Christian Goll
80c92475b0
added backwards compatibilty for default
2022-05-12 11:51:00 +02:00
jcsiadal
9b6b93a5cb
Rename default to primary in src
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-05-05 03:13:21 +00:00
jcsiadal
dbd747788f
wwctl profile fixes
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-19 21:59:34 +00:00
Christian Goll
e29aea8ae3
using stirng for ipmiwrite storage
2022-04-14 12:50:38 +02:00
Christian Goll
b3cf1dea6b
setaltb for ipmi write
2022-04-14 11:47:34 +02:00
Christian Goll
edc7c04bc2
PrintB returns string
2022-04-14 11:43:02 +02:00
Christian Goll
2e9848fa5c
do not unmarshall deprecated yaml
2022-04-14 11:27:09 +02:00
mslacken
f68c0a3633
add backward compatiblity for old yaml syntax
2022-04-14 09:33:30 +02:00
jcsiadal
bc0039eecd
Remove redundant line
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-13 18:44:52 +00:00
jcsiadal
8568599627
Convert MACs to lowercase on set
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-13 18:40:55 +00:00
Christian Goll
e3b2ca39d8
simplified range expression
2022-04-11 14:51:35 +02:00
Christian Goll
4782d7e726
fixup profile handling
2022-04-11 14:41:43 +02:00
MatthewHink
086401a07c
unit test + nil check pointers
2022-04-09 09:19:03 -04:00
Christian Goll
68946d344d
Merge pull request #370 from MatthewHink/mhink-test
...
Mergeing as need to on updated main for the tests to work
2022-04-09 13:34:17 +02:00
Christian Goll
415445b5ca
update test format
2022-04-09 13:31:14 +02:00
Christian Goll
3bbddf4a8c
create config entries for profiles
2022-04-08 17:34:52 +02:00
Christian Goll
fa052a0f57
simplified GotReal
2022-04-08 15:15:16 +02:00
Christian Goll
ae2b1ce2ae
check for nil vaule of Kernel and Impi
2022-04-08 15:06:40 +02:00
Christian Goll
197c663a97
memory for Ipmi and Kernel Entry FindAllProfiles
2022-04-08 15:01:14 +02:00
Christian Goll
49bb9a40f0
reserve memory ofr kernel and ipmi entry
2022-04-08 14:47:19 +02:00
MatthewHink
3c01728aa5
Fix 365. Nil checks around pointers in nodes.conf.
2022-04-07 16:32:26 -04:00
Christian Goll
95050a44ce
add user defined keys for networks/netdev
...
Every network in the profile and for the nodes can have induvidual keys values
pairs, called Tags, which are propergated to the templates. So they can be used
for things like MTU size like
`wwct node set node01 --nettag mtu=9000`
and in in ifcfg.xml.ww
```
{{ if $netdev.Tags.mtu -}}
<mtu> {{ $netdev.Tags.mtu }} </mtu>
{{ end -}}
```
2022-04-06 21:36:17 +02:00
Christian Goll
16fa2518fa
set not ipv6 if no ipv4 present
2022-04-06 21:36:17 +02:00
jcsiadal
bd3edb9e7f
Udated constructors/mods
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-04 16:13:09 +00:00
jcsiadal
1fda01fc36
Datastructure update
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-04 16:13:09 +00:00
Christian Goll
c0f7ecf357
store the ovelats as yaml list
2022-03-24 19:45:51 +01:00
Christian Goll
10b5f606d4
set default value for gateway
2022-03-21 11:29:49 +01:00
Christian Goll
d3b10624b0
Merge branch 'ipv6'
2022-03-18 09:37:23 +01:00
Christian Goll
265dbad6c1
do not combine overlays any more
2022-03-17 12:50:51 +01: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
Christian Goll
29074f34ea
fixed recusrive call and SliceAppendUniq
2022-03-11 16:22:26 +01:00
Christian Goll
351b81b9e3
ignore defval on GetSlice
...
if there is an value the default gets not included in the slice of an value
2022-03-11 15:59:38 +01:00
Christian Goll
f279863d7f
node list prints combine valuse for node
2022-03-11 12:27:36 +01:00
Christian Goll
afac77dbbe
allow multiple generic and wwinit overlays
2022-03-11 11:50:38 +01:00
Christian Goll
5ac75661c9
Only write to IPMI if this is explictly wanted
2022-03-02 21:24:05 +01:00
Gregory M. Kurtzer
b11f3f7228
Merge pull request #313 from mslacken/single-netdev
...
For just one netdev make it the default
2022-02-27 19:02:53 -08:00
Gregory M. Kurtzer
88832420ca
Merge pull request #306 from gmkurtzer/container_kernel_integration
...
Utilize containerized kernel by default
2022-02-27 18:03:25 -08:00
Christian Goll
704248f2da
For just one netdev make it the default
2022-02-17 10:35:03 +01:00
Gregory Kurtzer
1203186194
Support kernel overrides from the host or other containers
2022-02-17 07:37:04 +00:00
Gregory Kurtzer
104bc7527d
Restored deleted kernel components for overrides
2022-02-17 06:21:40 +00:00
MatthewHink
a01e8319d2
Allow asset tags in the profile.
...
Warn and ignore ip addresses and hardware addresses.
2022-02-16 11:41:44 -05:00
MatthewHink
a29e9ed6be
Remove unique settings from profile set. Warn if set in the node DB.
...
IP address
MAC address
Asset Tag
2022-02-15 10:58:28 -05:00
Gregory Kurtzer
5a0c13225e
Utilize containerized kernel and remove kernel Support
2022-02-15 06:49:24 +00:00
Gregory Kurtzer
e6a3810d20
Fixing oddball network configuration parameters
2022-02-12 03:08:33 +00:00
Gregory Kurtzer
b1b893861e
Fix for faulty boolean logic (ref #292 )
2022-02-12 01:53:18 +00:00
Gregory Kurtzer
49150c172e
Reverse compatibility for keys to tags
2022-02-11 15:36:38 +00:00
Gregory Kurtzer
ffaf794a42
Changed "key" paramaters to tags and cleaned up interface
2022-02-11 05:52:46 +00:00
Gregory Kurtzer
93ff88d544
Fix lint
2022-02-10 16:43:04 +00:00
Gregory Kurtzer
b165928699
Change how boolean node members behave (transform two and from strings)
2022-02-10 16:36:14 +00:00
Gregory Kurtzer
ee84e8d339
rootfstype=rootfs does not need to be defined.
2022-02-09 20:19:20 +00:00