Commit Graph

115 Commits

Author SHA1 Message Date
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
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
Gregory Kurtzer
e3d76f01e2 Merge branch 'main' of github.com:hpcng/warewulf into overlay_refactor 2022-01-06 00:37:17 +00:00
Gregory M. Kurtzer
b50fdbd923 Merge pull request #238 from gmkurtzer/network_refactor_backwardscompat_fix
Backwards compatibility fix for network config
2022-01-05 16:25:43 -08:00
Gregory Kurtzer
b971ff2636 Backwards compatibility fix for network config 2022-01-04 02:15:21 +00:00
Gregory Kurtzer
2f6a9251cd Optimized FilterByName() to weed out redundant queries 2021-12-30 03:35:54 +00:00
Gregory Kurtzer
9f53bca1bf Various fixes found in testing 2021-12-29 17:16:53 -08:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00
Gregory Kurtzer
7d2fe7f22f Merge branch 'main' of github.com:hpcng/warewulf into netdev_refactor 2021-12-28 15:18:08 -08:00
Gregory Kurtzer
938511e9cd Merge branch 'main' of github.com:gmkurtzer/warewulf into netdev_refactor 2021-12-28 15:17:21 -08:00
Gregory Kurtzer
af51716f55 Merge branch 'main' of github.com:gmkurtzer/warewulf into wwlog_refactor 2021-12-28 13:59:50 -08:00
Gregory Kurtzer
148431e8f2 Minor cleanup of output 2021-12-28 13:56:30 -08:00
Christian Goll
04f0a25fbc Merge pull request #211 from mslacken/update-gitignore
updated .gitignore to ignore man pages
2021-12-03 11:05:02 +01:00
Christian Goll
74da63d079 set .conf files for man_page and bash_completion 2021-11-19 10:02:13 +01:00