Jonathon Anderson
c03dc9436b
Add an Overlay type with helper methods
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-20 11:12:47 +01:00
Jonathon Anderson
ac49ecef70
Rename and refactor overlay constructor functions
...
- Reduces redundancy
- Adds clarity
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-12-20 11:12:47 +01:00
Christian Goll
d5fc7e9320
introduce site overlays
...
site overlays are place in sysconfdir/overlays and take
precedence over distribution overlays with the same name.
Every `wwctl overlay` command changing overlays will create
an site overlay. distribution overlays can't be deleted or
modified with wwctl.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-12-20 11:12:41 +01:00
Jonathon Anderson
a7325b6ffa
Remove WW_INTERNAL
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:54 -07:00
Jonathon Anderson
0665d5dc88
Refactor node
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:47 -07:00
Christian Goll
0dd0317740
replaced errors.Wrap with fmt.Errorf
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 22:57:29 -07:00
xu yang
97c6772e51
Return non-zero exit code on overlay sub-commands
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-30 20:51:44 -06:00
Christian Goll
457c7c16b1
wwctl commands without NodeInfo
...
mostly remove Get and calls for the id
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 13:35:42 -04:00
Christian Goll
1fca0057d3
updated WW_INTERNAL to 45 for 4.5.x release
...
Internal version update is necessary as new structures were added,
most obviously the disk, partitions and file system structures.
Old configurations will work as expected.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-02-16 20:12:51 -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
John Hanks
6a53b9aa19
Replace deprecated io.ioutil functions with new os versions.
2023-07-25 18:54:06 -05:00
jason yang
869d3d7c76
squash commits
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2023-05-15 10:31:07 +00:00
Christian Goll
77352fe36f
removed unused flag for import
2023-02-13 12:27:47 +01: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
d976e7fc31
Merge pull request #467 from mslacken/single-Overlay
...
enable overlay rendering
2022-06-24 09:50:14 +02:00
Christian Goll
69c058f106
added bash completion for overlay commands
2022-06-08 15:49:55 +02:00
Carter Dodd
fc8d3863d8
use wwctl to re-build provision overlays, update to pass overlaynames
2022-06-04 11:14:48 -05: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
24b017f4f1
Properly handle import dest being a directory (thanks @elguero!)
2021-09-15 10:00:56 -07:00
Gregory Kurtzer
c6f723d52f
Additional fixups, thanks @elguero!
2021-09-14 21:36:27 -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
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
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
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
27441f77d3
Days updates, fixes, and UI updates
2020-11-18 17:41:10 -08:00