Commit Graph

664 Commits

Author SHA1 Message Date
Gregory M. Kurtzer
d0d5d24884 Merge pull request #412 from mslacken/show-kernel-version
container show prints kernel version
2022-05-03 22:16:55 -07:00
Gregory M. Kurtzer
04decd799f Merge pull request #410 from gmkurtzer/boolean_print_fixes
Align boolean prints
2022-05-03 22:12:39 -07:00
Gregory M. Kurtzer
5257413aea Merge pull request #406 from mslacken/version-vars
more verbose wwctl version
2022-05-03 22:11:37 -07:00
Gregory M. Kurtzer
a7925cfeb5 Merge pull request #400 from jcsiadal/netdevfix
Fix wwctl bug deleting networks and ability to set default network
2022-05-03 22:04:53 -07:00
Christian Goll
1a61b53bb2 container show prints kernel version 2022-05-03 10:27:56 +02:00
mslacken
5643b71de6 fixed linting 2022-04-29 11:18:20 +02:00
mslacken
95c951e673 use bash export syntax for variables 2022-04-29 10:20:56 +02:00
mslacken
0fd8553bad add full output siwtch to wwctl version 2022-04-29 10:07:15 +02:00
Gregory Kurtzer
c95c518dde Align boolean prints 2022-04-27 22:33:34 -07:00
Christian Goll
0a9e4b89a1 fixup format 2022-04-26 11:30:04 +02:00
Christian Goll
673253fbe0 Inlcude build in vars in version output 2022-04-26 11:13:54 +02:00
jcsiadal
dbd747788f wwctl profile fixes
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-19 21:59:34 +00:00
griznog
bada0f738b Add BuildTimeUnix containing Unix time (seconds since epoch). 2022-04-15 10:36:40 -05:00
Christian Goll
ca698182f9 direct file is now also suppored 2022-04-14 14:45:23 +02:00
Christian Goll
18e2147953 added file uri pattern for container import 2022-04-14 14:25:22 +02:00
Christian Goll
469e731adb Merge pull request #385 from mslacken/network-cidr
add NetworkCIDR for overlays
2022-04-14 13:57:23 +02: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
f9848455c7 output ipmi write status 2022-04-14 11:29:24 +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
5adc0e3093 add NetworkCIDR for overlays 2022-04-13 20:19:35 +02:00
Christian Goll
96f220a950 Merge pull request #380 from mslacken/profile-fixup
profile fixup, checked and worked as expected
2022-04-13 14:43:13 +02:00
griznog
75e075ab52 Ignore dotfiles when building overlay list. 2022-04-11 11:15:25 -05: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
db26527639 Merge pull request #376 from mslacken/kernel-import
fix typo in kernel import
2022-04-09 13:35:16 +02: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
3e0e462dce fix typo in kernel import 2022-04-09 13:06:58 +02:00
Christian Goll
38b166945a reservre meomory for tempalte struct 2022-04-08 17:34:52 +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
e0681148e9 compiling config_defaults, unmarshall all values 2022-04-07 12:43:16 +02:00
Christian Goll
a3c82cda4c fixed linting 2022-04-07 11:32:31 +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