Commit Graph

69 Commits

Author SHA1 Message Date
Jonathon Anderson
ebc101b2b1 Move reexec.Init() to beginning of wwctl
- Fixes: #1879

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-08-01 01:08:20 -06:00
Jonathon Anderson
ff40c0fed2 Node upgrade tests
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-11 00:09:04 -07:00
Christian Goll
1740a8c11d update to yaml/v3 for project files
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-10-17 15:30:54 -04:00
Christian Goll
ff10bc95bb const string for Version, Release, Confversion
The Version (e,g, 4.4 ), Release (git hash) and Confversion (e.g. 44)
must be compiled into the code so that they can't be changed during run
time and ensure this with the compiler

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-17 10:22:44 -07: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
Jonathon Anderson
42842aeee1 Format entire source code using make fmt
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-10-23 17:56:20 -06:00
Jonathon Anderson
9ea3381b9d Remove extraneous backup file
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Christian Goll
b55473e1e4 added new build in vars to rest of binaries
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 16:21:44 +01:00
Christian Goll
32b4bb74cc added wwctl genconfig warewulfconf print
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 14:07:26 +01:00
Christian Goll
61960b6c8c moved print_defaults to wwctl genconfig defaults
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 15:23:46 +01:00
Christian Goll
94866656a4 generate man pages via sub command
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 11:10:20 +01:00
mslacken
ab0ee87629 updated linter and fixed deprecated stuff 2022-10-14 17:40:16 +02:00
Christian Goll
efd761f7c3 Read the defaults for anode from defaults.conf 2022-09-15 11:14:26 +02:00
jcsiadal
9b6b93a5cb Rename default to primary in src
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-05-05 03:13:21 +00:00
Christian Goll
95b295272f no searate transformation for Profile and Nodes 2022-04-12 19:59:51 +02:00
Christian Goll
e2a78b07cd aaded vers43 nodes.conf 2022-04-12 18:09:46 +02:00
Christian Goll
2f2580e81b be more verbose 2022-04-12 18:03:08 +02:00
Christian Goll
944dc9f126 stream lined datastrutures and fixed linting 2022-04-12 18:03:08 +02:00
Christian Goll
4641b947db added update_configuration 2022-04-12 18:03:05 +02: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
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
jcsiadal
0b93d6c277 Update help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-08 11:36:21 -08:00
Gregory Kurtzer
9581281cb4 Fixed redundant usage errors 2021-09-13 22:36:45 -07:00
WestleyR
705b321f80 Better error handling for some of wwctl commands
Better error handling, also prints a stack trace for `wwctl` if
`--debug` flag is used.
2021-09-10 21:18:45 -07:00
Gregory Kurtzer
ee5b099e02 Exit with error properly and fix lint check 2021-09-08 11:38:39 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
a82e1b0ea5 Fixed formatting across entire project 2021-08-21 08:04:47 -07:00
Christian Goll
8d5162f88a automatic man page generation 2021-08-10 11:15:53 +02:00
Christian Goll
b27951b59f added binary to create bash completion
also do not bail out, when configs can't be read, still the
2021-08-10 11:15:33 +02: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
85783c3c4f Removed warewulfd command skeleton and nodes.conf which is now self generating 2020-12-13 23:03:07 -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
46bde8b54d Something very weird happened with git for me, here is the fix. 2020-11-11 22:33:13 -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
fa2a7e26d3 Moving warewulfd code around and implementing new API for config.*() 2020-11-11 22:16:24 -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
Ian Kaneshiro
fff79227d8 Support pulling from docker daemon 2020-11-11 10:25:39 -08:00
Gregory Kurtzer
0c3a58e47a bug fixes 2020-11-11 00:34:03 -08:00