Commit Graph

470 Commits

Author SHA1 Message Date
Christian Goll
29fc75a2b6 remove default home mount 2022-01-27 11:04:52 +01:00
Christian Goll
6d1b3c66c5 listen mutliple times on SIGHUP 2022-01-26 11:33:28 +01:00
Christian Goll
404490b756 Add sd_notify to systemd after first sync 2022-01-26 11:31:24 +01:00
Niko Kivel
5abb1fc4c7 stale pidfile handling 2022-01-26 11:30:29 +01:00
Christian Goll
05f9c4d3af fix linter warning 2022-01-26 11:21:17 +01:00
mslacken
e0ab4e47f4 Added handling of symbolic links in overlays 2022-01-26 11:21:17 +01:00
Christian Goll
d4f180f4b4 wwclient cleanup 2022-01-26 11:21:16 +01:00
Christian Goll
6a5809e7c4 slightly improved error handling for wwclient 2022-01-26 11:15:52 +01:00
Christian Goll
93c337a469 added pidfile option for wwclient 2022-01-26 11:15:48 +01:00
Christian Goll
48fefd31ae renanmed wwclient.go for cobra integration 2022-01-26 11:02:56 +01:00
Gregory M. Kurtzer
bc24cb65e3 Merge pull request #252 from gmkurtzer/asset_key_security
Initial commit of asset key tag security check
2022-01-25 20:05:36 -08:00
Gregory Kurtzer
9e943101ec Always use lowercase for hw addresses 2022-01-26 04:02:30 +00:00
Gregory M. Kurtzer
ef30ebfb8a Merge pull request #257 from gmkurtzer/various_relocation_fixes
Various relocation fixes
2022-01-25 19:59:32 -08:00
Gregory Kurtzer
2d880aae76 Properly support relative paths to the SYSCONFDIR 2022-01-26 03:46:39 +00:00
MatthewHink
51798e483c Missing hyphen in dhcp template path. Unit tests.
This is a single character bug fix.
Broke this out into a function for testing.
2022-01-25 18:39:42 -05:00
Gregory Kurtzer
1bc1d7e34f removed unused function 2022-01-24 01:31:27 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Christian Goll
22f56a8665 removed leading /etc for key location
Signed-off-by: Christian Goll <cgoll@suse.de>
2022-01-19 15:14:10 +01:00
Gregory Kurtzer
690d6bb4d2 Minor fix of path.Join() usage 2022-01-19 06:15:11 +00:00
Gregory M. Kurtzer
7fbbb92173 Merge pull request #241 from mslacken/fix-kernel-imprt
fixups for kernel import
2022-01-18 22:13:31 -08:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Christian Goll
b426482d82 need valid url or dir to import something 2022-01-18 15:46:01 +01:00
Christian Goll
558f5ef65b fixed kernel import from container 2022-01-18 15:34:29 +01:00
Gregory Kurtzer
b09c9a8b98 Fix so Warewulf can build and lint without make config 2022-01-15 04:34:03 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
Gregory Kurtzer
be41b79261 Don't use init function to load status DB 2022-01-15 02:27:45 +00:00
jcsiadal
8afe4b1342 Updates to rebase 1/10
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 07:02:41 +00:00
jcsiadal
7cf6b7155c rm WWROOT from NFS export defaults
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
5df101cd37 Relocate default to /var/lib; fix default const
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
b515442872 Fix oci dir & some formatting
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:55:24 +00:00
jcsiadal
35755002ec Fixes needed for successful validation
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:55:20 +00:00
jcsiadal
8e626e9a62 Add config option for shared state dir
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>

Changes default share to /srv/warewulf
Update specfile
Some changes to match Golang standards
2022-01-11 05:52:58 +00:00
Gregory M. Kurtzer
4a8542351f Merge branch 'main' into node_status_monitor 2022-01-05 16:40:53 -08: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
6afb3f3e25 Added filter and sort options for last, check-in, reverse, etc. 2022-01-05 05:20:07 +00:00
Gregory Kurtzer
5602fb0177 Minor fixup for not setting onboot to be true via Cobra
This is already done more robustly within the code
2022-01-04 02:20:06 +00:00
Gregory Kurtzer
b971ff2636 Backwards compatibility fix for network config 2022-01-04 02:15:21 +00:00
Gregory Kurtzer
1ccc65a91e Simple name change on header 2021-12-31 04:53:10 +00:00
Gregory Kurtzer
6313220ca6 Automatically change color based on "UpdateInterval" from config 2021-12-31 03:47:34 +00:00
Gregory Kurtzer
875e37f4de Support node ranges in wwctl node status 2021-12-31 03:38:12 +00:00
Gregory Kurtzer
fdbca2e07d Add color to wwctl node status output and time based filter 2021-12-31 03:24:09 +00:00
Gregory Kurtzer
c5b1e7e999 Cleanups to STATUS 2021-12-31 02:58:57 +00:00
Gregory Kurtzer
c9c462b180 Don't default "onboot" to yes in options 2021-12-31 02:51:32 +00:00
Gregory Kurtzer
a788db282c Allow for change of update frequency for watching node status 2021-12-31 02:46:22 +00:00
Gregory Kurtzer
39ec7c0807 A few usability fixes and put full node DB logic into warewulfd 2021-12-31 02:38:48 +00:00
Gregory Kurtzer
6b42362f37 Fixed linting errors 2021-12-31 01:00:18 +00:00
Gregory Kurtzer
525ac1184e Simplified version of node status monitoring with CLI 2021-12-30 23:26:45 +00:00
Gregory Kurtzer
2f6a9251cd Optimized FilterByName() to weed out redundant queries 2021-12-30 03:35:54 +00:00
Gregory Kurtzer
f0fa6385eb Add "DEFAULT" to the node and profile list output 2021-12-29 17:50:49 -08:00