Commit Graph

21 Commits

Author SHA1 Message Date
Jonathon Anderson
081d2ec61e Update linter for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-03-11 09:32:49 +01:00
Jonathon Anderson
d33ca6ff53 Simplify warewulfd logging
- Collapse SEND and RECV logs into INFO.
- Add /etc/default/warewulfd

Closes #725

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-31 14:52:48 -06:00
Jonathon Anderson
b331fd12af Remove dead code
Verified with

```
deadcode -test ./...
```

Followed-up with a lint check.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-18 15:09:01 -06:00
Jonathon Anderson
053dd9953a Split overlays into discrete functionality and test
- Closes #987

To make the overlays testable in isolation, and after discussion with
the TSC, removed host/time/source from overlay files.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-26 10:48:38 -06:00
Christian Goll
5efaf6d9f5 added extra OUTPUT level
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:22:00 -07:00
Christian Goll
aaadf26b90 separate writer for wwlog.Info
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:13:03 -07:00
jason yang
911cb4a3b9 squash commits
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-15 10:34:36 +00:00
Carter Dodd
7ecaae1361 Fix only serve/check Secure for runtime 2022-05-16 12:38:53 -05:00
Carter Dodd
a27be52e3f Fix unhandled errors 2022-05-13 22:33:29 -05:00
Carter Dodd
379faad51d Refactor of server, logging, building of images, template updates
* Combine provision response handling, add hwaddr and interface to dhcp
* Simplify stage cases, add backward compatible uri parse
* Move control of image compression to client
* Fix kernel search path for ubuntu, buffer template generation
* Implement cpio and gz as functions, add log named functions
* Generalize fs image creation routine
* Combine daemonLogf to generalized wwlog
* Fix template newline insertion, update dhcp and hosts tmpl
* Update IPXE template to handle non-compressed files
* Update DHCP template to set network interfaces and server IP assignment
* Update DHCP/hosts templates to choose a host-name self-consistently
2022-05-13 16:52:59 -05: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
Gregory Kurtzer
29bcbd264a Fix linting error 2021-12-28 14:12:03 -08:00
Gregory Kurtzer
6c27b86481 Accepted suggestions from PaulC. 2021-12-28 13:56:09 -08:00
Gregory Kurtzer
719de68410 Initial refactor and cleanup of wwlog 2021-10-01 00:28:40 -07:00
Gregory Kurtzer
85a406fb39 remove timestamp from normal log output. 2021-04-25 13:56:11 -07:00
Yong Qin
c16e450922 Logged timestamp. 2021-04-24 16:40:44 -07:00
Ian Kaneshiro
846b45524c Tidy up
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
fa2a7e26d3 Moving warewulfd code around and implementing new API for config.*() 2020-11-11 22:16:24 -08:00
Gregory Kurtzer
9644690dd5 Cleanups and removing the legacy wwclient program code 2020-11-11 15:10:48 -08:00
Gregory Kurtzer
189618a111 Major refactor for Cobra and new pkg/app structure for wwctl 2020-11-10 21:28:39 -08:00
Gregory Kurtzer
0c369270ef Beginning to break out wwbuild into wwctl with proper Go structure and Cobra 2020-11-09 20:42:12 -08:00