30 Commits

Author SHA1 Message Date
Jonathon Anderson
32ca0a9170 Atomic overlay file application in wwclient
Update wwclient such that each file in the runtime overlay is applied
atomically, and only if modified.

- Closes: #1307
- Closes: #1975
- Closes: #1226

Also adds --once flag to allow wwclient to be run one time.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-08-28 07:45:35 -06:00
Christian Goll
1e54d02f70 Revert "Atomic overlay file application in wwclient"
This reverts commit 9f11b4a2b9.
2025-08-13 09:57:31 +02:00
Jonathon Anderson
9f11b4a2b9 Atomic overlay file application in wwclient
Update wwclient such that each file in the runtime overlay is applied
atomically.

- Closes: #1307
- Closes: #1975
- Closes: #1226

Also adds --once flag to allow wwclient to be run one time.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-08-12 23:16:03 -06:00
Jonathon Anderson
a1832ad8c1 Complete transfer of Warewulf from HPCng
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-26 21:35:04 -07: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
Christian Goll
7f4ff9861c implemented dealing of SIGHUP for wwclient 2022-01-26 11:02:53 +01:00
Gregory Kurtzer
f02961d4a2 use ioutil.ReadFile() instead of os.ReadFile() 2022-01-24 01:35:30 +00:00
Gregory Kurtzer
b068c187af Update wwclient to send hwaddr and asset/uuid tags 2022-01-24 01:29:05 +00:00
Gregory Kurtzer
5083e929f0 Add asset tag and uuid support to wwclient 2022-01-24 00:44:07 +00:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
7d51e64a51 minor wwclient code cleanup 2021-04-24 17:30:15 -07:00
Gregory Kurtzer
0419892e6a Fix wwclient for compressed overlay stream 2021-04-24 17:26:27 -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
df96dee6be Added a configurable update interval for WWClient 2020-12-03 19:14:40 -08:00
Gregory Kurtzer
be03d7b459 Fixes for new APIs 2020-12-03 17:28:12 -08:00
Gregory Kurtzer
85603ee947 Lots of changes including: wwctl overlay list and framework for other commands 2020-11-16 21:37:55 -08:00
Gregory Kurtzer
c39257a7ff Added some Cobra framework for new command groups as I'm thinking through the interface. 2020-11-13 21:29:22 -08:00
Gregory Kurtzer
aeec20fa21 Minor typo fix for wwclient. 2020-11-11 22:21:55 -08:00
Gregory Kurtzer
73c93c362f Fixing oops of deletion of wwclient. I meant to delete old wwctl bits. 2020-11-11 22:18:58 -08:00
Gregory Kurtzer
9a9672a060 OK, now removing all of the wwclient code! ;-) 2020-11-11 15:11:24 -08:00
Gregory Kurtzer
9644690dd5 Cleanups and removing the legacy wwclient program code 2020-11-11 15:10:48 -08:00
Gregory Kurtzer
0c3a58e47a bug fixes 2020-11-11 00:34:03 -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
d2ed5766cd Added configuration pkg, iPXE templating, clean up, etc. 2020-11-04 18:45:36 -08:00
Gregory Kurtzer
260315cccd More fixes and usibility updates 2020-11-04 12:01:15 -08:00
Gregory Kurtzer
521745ce3f Fixed wwclient but and more code cleanups 2020-11-03 21:50:18 -08:00
Gregory Kurtzer
78de883339 Lots of updates... 2020-11-03 17:58:41 -08:00
Gregory Kurtzer
bc12f1ff65 Cleanups and got wwclient net/http pipe to cpio working 2020-11-02 22:43:07 -08:00
Gregory Kurtzer
78b13b5b4b Lots of code cleanup, better error handling, etc... 2020-11-02 21:16:06 -08:00