Christian Goll
c9c38542f4
added completion to overlay chmod/chown/delete/edit
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-08-02 13:55:56 -06:00
xu yang
cec903aeeb
resovle the comments
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-07-25 06:42:16 +00:00
xu yang
62d9b5f71d
fix the failure when updating overlay files existing on different partitions
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-07-25 02:29:29 +00:00
xu yang
371e4d63a6
Fix multiple issues in wwctl overlay edit
...
- Fixes #1236
- Fixes #1235
Signed-off-by: xu yang <xyang@ciq.com >
2024-07-03 17:57:25 -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
Jonathon Anderson
4f41a569dd
Replace development with main
...
The development branch has been replaced with the main branch in GitHub.
Replaces references to development in docs, commands, configuration, and
workflows.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-11-25 00:27:52 -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
7e4e2a3f71
Fix and update initial overlay template
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-08-31 17:44:46 -06:00
Jonathon Anderson
fb49b6082e
Update overlay edit with tempfile and mtime
...
The recent `overlay edit` command reimplementation included some
incorrect ordering that led to spurious error messages for files that
did not yet exist. This reimplementation reorders operations to avoid
such error messages and clarifies the implementation by editing in a
temporary file and using mtime to discern whether an edit has occurred.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-08-31 15:55:18 -06:00
Christian Goll
5ed711490d
remove list files option from edit
2023-02-13 11:25:35 +01:00
Christian Goll
d91f552473
make output less scary for new files
2023-02-13 11:11:19 +01:00
Jonathon Anderson
78b857a3e4
Whitespace cleanup
...
Removes trailing whitespace from all source files.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-12-08 18:59:56 -07:00
Christian Goll
5413eb611d
removed stray debug line
2022-10-27 12:08:32 +02:00
Christian Goll
721a52239f
opening file with twi seperate descriptors
2022-10-27 12:03:10 +02:00
Christian Goll
21f7a1f8c3
fix linting
2022-10-27 11:32:30 +02:00
mslacken
12efa0cc68
check if new template file was modified
2022-10-14 18:18:58 +02:00
Jonathon Anderson
0b3e862bea
Remove trailing newline from wwlog
...
I noticed that some wwlog calls included a trailing newline, but others
did not. I tested both in isolation and discovered that the behavior was
consistent regardless of whether a trailing newline was included. I
further confirmed in code that wwlog appends a trailing newline
automatically if it is not present; so a trailing newline is unnecessary
in individual calls.
This commit removes trailing newlines from all calls to make them
consistent. It also replaces two calls to wwlog.Printf. (see #534 )
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-09-15 12:38:03 -06:00
Jonathon Anderson
22910958b5
Replace all instances of wwlog.Printf
...
wwlog provides named loggers for each level, which requires
less code and is clearer than wwlog.Printf. The code has
included a mix of both, but this commit consolidates existing
code on the per-level functions.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-09-11 08:00:23 -06:00
Christian Goll
69c058f106
added bash completion for overlay commands
2022-06-08 15:49:55 +02:00
Gregory Kurtzer
00d8d42e9d
First pass at a rework of the overlay subsystem in Warewulf
2021-12-29 16:11:25 -08:00
jcsiadal
0b93d6c277
Update help
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2021-11-08 11:36:21 -08:00
jcsiadal
de2c882ba1
Replace HTML in help
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2021-10-28 17:48:16 -07:00
Gregory Kurtzer
499582e211
Don't rebuild overlays on overlay commands automatically
2021-09-29 22:06:46 -07:00
Gregory Kurtzer
3137f477bf
UI updates to include "overlay kind"
2021-09-13 13:28:44 -07:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Michael L. Young
e171eae858
Clean up typos from copy and paste
2021-08-25 07:59:35 -04:00
Niko Kivel
1c35b84e74
GroupName --> ClusterName
2021-04-28 22:38:39 +02: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
72b1d8c9d8
UI Updates with a few minor fixups scattered here and there
2021-01-14 20:23:42 -08:00
Gregory Kurtzer
98e03162d3
Set vi as default editor is none is defined
2020-12-20 22:56:32 -08:00
Gregory Kurtzer
ba5887555d
Minor bugfix on default template.
2020-12-13 23:38:22 -08:00
Gregory Kurtzer
6cbaa29fbd
Fixes for new API
2020-12-03 17:28:28 -08:00
Gregory Kurtzer
43ad7e570c
API updates and fixes to CLI
2020-12-01 23:34:24 -08:00
Gregory Kurtzer
4d752a67db
Added controllers, services, and lots of various optimizations and fixes
2020-11-30 23:07:42 -08:00
Gregory Kurtzer
3caeac0c9d
Updates to overlay cli for NodeDB updates
2020-11-26 19:18:28 -08:00
Gregory Kurtzer
e5e23b5868
Changed backend node API to account for default and overrides for UI
2020-11-23 23:11:20 -08:00
Gregory Kurtzer
221e71b384
A bunch of changes including reworking the assets -> node API
2020-11-20 17:59:06 -08:00
Gregory Kurtzer
0bc53ea483
Last bit of updates for basic overlay support
2020-11-18 20:37:18 -08:00
Gregory Kurtzer
27441f77d3
Days updates, fixes, and UI updates
2020-11-18 17:41:10 -08:00
Gregory Kurtzer
ed7dbdaf32
Fleshed out the framework of most of the wwctl overlay command group.
2020-11-17 21:50:27 -08:00
Gregory Kurtzer
108174d35c
Still working on CLI framework for wwctl overlay
2020-11-16 22:43:13 -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