Commit Graph

59 Commits

Author SHA1 Message Date
Christian Goll
157c3cd923 getting defaults mounts from warewulf.conf 2023-01-31 16:04:08 +01:00
Christian Goll
d82314460f added support for mounts.conf for container exec 2023-01-31 16:04:07 +01: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
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
Gregory Kurtzer
f3ec8ee923 Lots of cleanups, added vnfs package and utilizing config package for constants 2020-11-09 17:24:35 -08:00
Gregory Kurtzer
76a8b2c135 Minor fixups for OCI implementation 2020-11-09 10:32:30 -08:00
Gregory Kurtzer
4e0a5bea48 Updated build to be able to build from OCI repositories and some housecleaning 2020-11-07 21:34:07 -08:00
Gregory Kurtzer
6960cdeafa Some minor boot cleanups and feature adds 2020-11-04 19:06:25 -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
3d1964f933 More updates including #WW... declarations in overlay configs 2020-11-03 23:42:47 -08:00
Gregory Kurtzer
521745ce3f Fixed wwclient but and more code cleanups 2020-11-03 21:50:18 -08:00