Commit Graph

1051 Commits

Author SHA1 Message Date
MatthewHink
99f6ec8d2b Vet and test in CI. 2022-04-07 15:34:50 -04:00
Christian Goll
6c0fd068cc updated Makefile for v4.3.0-rc1 2022-04-07 17:22:38 +02:00
Christian Goll
8e104db5a8 Merge pull request #353 from mslacken/config-defaults
compiling config_defaults, unmarshall all values
2022-04-07 15:27:50 +02:00
Christian Goll
f307202300 Merge pull request #363 from mslacken/main
fixed typo in contributors
2022-04-07 14:35:01 +02:00
Christian Goll
9f8c003e86 Merge branch 'main' of github.com:hpcng/warewulf 2022-04-07 14:27:49 +02:00
Christian Goll
bf14188858 fixed typo in Contributors 2022-04-07 14:26:56 +02:00
Christian Goll
e0681148e9 compiling config_defaults, unmarshall all values 2022-04-07 12:43:16 +02:00
Christian Goll
d82fb8bb71 updated changelog 2022-04-07 12:14:57 +02:00
Christian Goll
e090d30f19 Merge branch 'main' of github.com:hpcng/warewulf 2022-04-07 12:07:51 +02:00
Christian Goll
d52f38c026 Added Contributors
closes #268
2022-04-07 11:56:36 +02:00
Christian Goll
1e14b4459b Added Contributors
closes #268
2022-04-07 11:50:11 +02:00
MatthewHink
f3719845fb fix action name 2022-04-07 11:35:54 +02:00
MatthewHink
26244a4dcb golang-lintci v.1.45.2 + fix yaml syntax 2022-04-07 11:35:54 +02:00
Christian Goll
7e42286610 fixed linting 2022-04-07 11:35:34 +02:00
Christian Goll
bc94ff1143 Cleanup TOOLS_DIR and updated linter version 2022-04-07 11:35:34 +02:00
Christian Goll
a3c82cda4c fixed linting 2022-04-07 11:32:31 +02:00
Christian Goll
60490eed9f Cleanup TOOLS_DIR and updated linter version 2022-04-07 11:32:08 +02:00
Christian Goll
0ef96c575d Added SEC prefix for wwlog levels
This SEC-levels are meant for internal documentation of security
relevant messages so that this code sections are marked.
2022-04-07 11:05:00 +02:00
Christian Goll
95d1b23921 use secure overlay dir
If there is a user writeable file in the host overlay, a user can
create arbitrary files on the host root file system. Although these
files will belong to this user, this might allow users to modify
any files.
So this patch restricts the access to the host overlay to root and
produces a warning if this was changed.
2022-04-07 11:05:00 +02:00
Christian Goll
2567246067 fixed linting 2022-04-06 21:44:00 +02:00
Christian Goll
db2dcbfbe2 will always run syncuids on exec and import 2022-04-06 21:44:00 +02:00
Christian Goll
7f1636c9a9 created syncuids.go with code from utils.go 2022-04-06 21:44:00 +02:00
Christian Goll
61eae386af Just check syncuids on default 2022-04-06 21:44:00 +02:00
Christian Goll
5fb10130f3 check for modifcation of passwd/group after exec 2022-04-06 21:44:00 +02:00
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
29fa839175 Merge pull request #356 from MatthewHink/mhink-lint
Pin go to 1.17
2022-04-06 21:29:30 +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
Christian Goll
05c722680f Merge pull request #354 from jcsiadal/hostyaml
YAML file update
2022-04-06 21:27:38 +02:00
MatthewHink
63768daa0c Pin go to 1.17 2022-04-06 15:24:42 -04: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
5333208efb removed nfs old exports from fstab 2022-04-01 11:27:14 +02: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
8003f92140 Merge pull request #347 from hpcng/do-not-build-host-overlay
warewulf.conf option disable host overlays
2022-03-30 21:24:41 +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
853cb5c6bc Merge pull request #343 from mslacken/overlay-yml
store the ovelays as yaml list
2022-03-25 10:16:01 +01:00
Christian Goll
8f5e80bc1e Merge pull request #345 from panda1100/makefile
makes `$(DESTDIR)$(WWDATADIR)/ipxe` to be directory from file
2022-03-25 08:13:18 +01:00
Yoshiaki SENDA
bfbc357cf4 Create $(DESTDIR)$(WWDATADIR)/ipxe directory
`$(DESTDIR)$(WWDATADIR)/ipxe` was file.
This cause a problem when copying *.efi files to `$(DESTDIR)$(WWDATADIR)/ipxe`.
This commit makes `$(DESTDIR)$(WWDATADIR)/ipxe` to be directory from file.
2022-03-25 14:56:35 +09:00
Christian Goll
c0f7ecf357 store the ovelats as yaml list 2022-03-24 19:45:51 +01:00
Christian Goll
a2fd8ab112 Merge pull request #342 from hpcng/remove-base-template
Remove-base-template
2022-03-24 11:27:55 +01:00
Christian Goll
baae8324c9 add noit always newline on template 2022-03-24 10:59:33 +01:00