Commit Graph

614 Commits

Author SHA1 Message Date
Christian Goll
1afa58ae57 Fixed wrong collision for group 0(root) 2022-04-06 21:44:00 +02:00
Christian Goll
23ba9ca61a fixed linting 2022-04-06 21:44:00 +02:00
Christian Goll
8c7fd7d140 basic function comparing uids of host/container 2022-04-06 21:44:00 +02: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
Christian Goll
d13a66e4a4 Merge pull request #350 from hpcng/nfs-cleanup
removed old nfs style from config
2022-04-06 21:29:07 +02:00
jcsiadal
bfde70cf8a Error free lint
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 17:01:11 +00: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
b25068521a removed old nfs style from config 2022-03-31 16:02:18 +02:00
Christian Goll
d10eca1d89 Merge pull request #348 from mslacken/advanced-templatinb
refactored template processing functions
2022-03-30 21:32:20 +02:00
Christian Goll
175e387f63 removed unused varaible 2022-03-30 17:54:13 +02:00
Christian Goll
3a457ed744 renamed option to 'host overlay' 2022-03-30 17:27:13 +02:00
Christian Goll
2d2fb13423 warewulf.conf option disable host overlays 2022-03-30 17:23:38 +02:00
Christian Goll
ab32625e7a refactored template processing functions 2022-03-30 17:11:03 +02:00
Christian Goll
c0f7ecf357 store the ovelats as yaml list 2022-03-24 19:45:51 +01:00
Christian Goll
baae8324c9 add noit always newline on template 2022-03-24 10:59:33 +01:00
Christian Goll
6fab42fda1 do not write master file for templates 2022-03-21 11:59:33 +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
aadfdfe1e6 remove rootfs from overlaydir if exits 2022-03-17 15:36:07 +01:00
Christian Goll
265dbad6c1 do not combine overlays any more 2022-03-17 12:50:51 +01:00
Christian Goll
dfd39ae663 shell completion for wwctl voerlay build 2022-03-17 12:42:34 +01:00
Christian Goll
208baff560 fix regression on overlay image creation 2022-03-17 12:25:38 +01:00
Christian Goll
e18e98e743 added missing line break 2022-03-16 20:14:05 +01:00
Christian Goll
dbdcee0bb7 check for magic file pattern 2022-03-16 19:45:14 +01:00
Christian Goll
0d62a26368 wwctl overlay buld fixes 2022-03-16 17:28:04 +01:00
Christian Goll
9dbf371174 overlay build allow output to given dir 2022-03-16 12:23:33 +01:00
Christian Goll
4fc56e2cd0 fixed lint 2022-03-15 16:03:53 +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
1098771c83 allow the build of specific overlays 2022-03-11 15:03:15 +01:00
Christian Goll
d4e42b7b83 allow download of named overlay 2022-03-11 14:52:01 +01:00
Christian Goll
5568b082c4 fixed linting 2022-03-11 13:59:20 +01:00
Christian Goll
f279863d7f node list prints combine valuse for node 2022-03-11 12:27:36 +01:00
Christian Goll
ccf5a349be split up BuildAllOverlays 2022-03-11 12:09:17 +01:00
Christian Goll
4264717f3e create just needs one arg 2022-03-11 11:52:47 +01:00
Christian Goll
afac77dbbe allow multiple generic and wwinit overlays 2022-03-11 11:50:38 +01:00
jcsiadal
8827937a9d Update for LSB compliance
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-03-09 07:32:02 +00:00
Gregory Kurtzer
b60cacbd0f Revert "removed unused container child"
This reverts commit 30bc445a89.
2022-03-02 19:53:10 -08:00
Christian Goll
6fd140e7b2 added IpmiWrite to underlyung datastructure 2022-03-02 21:25:20 +01:00
Christian Goll
88631a98d3 fixed linting 2022-03-02 21:24:15 +01:00
Christian Goll
5ac75661c9 Only write to IPMI if this is explictly wanted 2022-03-02 21:24:05 +01:00
Christian Goll
30bc445a89 removed unused container child 2022-03-02 15:39:47 +01:00
Christian Goll
2d223b6b67 fixed syntax for io.Copy 2022-02-28 10:29:03 +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 Kurtzer
ce74d6f14a Fix lint error with unused function 2022-02-27 18:59:16 -08:00
Gregory Kurtzer
2927495de1 Fixes to #304 and #311 2022-02-27 18:54:51 -08:00
Gregory Kurtzer
d961f8b8ea Minor merge fix 2022-02-27 18:08:48 -08:00