Christian Goll
d976e7fc31
Merge pull request #467 from mslacken/single-Overlay
...
enable overlay rendering
2022-06-24 09:50:14 +02:00
Christian Goll
95e03b3df4
get arguments for show --render right
2022-06-08 15:56:10 +02:00
Christian Goll
69c058f106
added bash completion for overlay commands
2022-06-08 15:49:55 +02:00
Christian Goll
53667157c5
parse not own command but show --render
2022-06-08 15:36:20 +02:00
Christian Goll
2f4757600d
added quiet option
2022-06-08 15:10:47 +02:00
Christian Goll
312596276e
Add source for parse
2022-06-08 15:10:47 +02:00
Christian Goll
98e085c6f2
Trim 'ww' suffix on output
2022-06-08 15:10:46 +02:00
Christian Goll
9e5b2d1aa3
added the wwctl overlay parse command
...
The `wwctl overlay parse -n NODE FILE` will interpret the given overlay file and print it stdout, via wwlog.PRINTF.
The overlay code had to be refactored for this, but hopefully this makes the code a bit more readable. Also the tstruct has not its own initilization code.
2022-06-08 15:10:46 +02:00
Carter Dodd
97c24e22f7
fixup for backward compatible case
2022-06-04 12:13:13 -05:00
Carter Dodd
f14f339576
fixups
2022-06-04 11:42:16 -05:00
Carter Dodd
fc8d3863d8
use wwctl to re-build provision overlays, update to pass overlaynames
2022-06-04 11:14:48 -05:00
mslacken
01f2f4fc99
filter out nodes acordiing to their overlays
2022-05-12 21:23:37 +02:00
Christian Goll
bfec010e5d
only build assigned overlays
...
If a overlay should be build, check if the overlay is assigned to
a node, and return error if otherwise.
2022-04-26 10:24:52 +02:00
Christian Goll
2d2fb13423
warewulf.conf option disable host overlays
2022-03-30 17:23:38 +02:00
Christian Goll
dfd39ae663
shell completion for wwctl voerlay build
2022-03-17 12:42:34 +01:00
Christian Goll
0d62a26368
wwctl overlay buld fixes
2022-03-16 17:28:04 +01:00
Christian Goll
9dbf371174
overlay build allow output to given dir
2022-03-16 12:23:33 +01:00
Christian Goll
351b81b9e3
ignore defval on GetSlice
...
if there is an value the default gets not included in the slice of an value
2022-03-11 15:59:38 +01:00
Christian Goll
1098771c83
allow the build of specific overlays
2022-03-11 15:03:15 +01:00
Christian Goll
4264717f3e
create just needs one arg
2022-03-11 11:52:47 +01:00
Christian Goll
afac77dbbe
allow multiple generic and wwinit overlays
2022-03-11 11:50:38 +01:00
Christian Goll
3a200a43f7
Added overlay build option to wwctl
2022-02-26 22:39:50 +00:00
Gregory M. Kurtzer
255d8c9252
Merge pull request #263 from MatthewHink/mhink-overlay
...
Fix wwctl overlay mkdir #248 .
2022-01-27 17:27:07 -08:00
MatthewHink
17bed325c5
Fix wwctl chmod arg parsing.
2022-01-27 18:14:50 -05:00
MatthewHink
1e0e270812
Fix wwctl overlay mkdir #248 .
...
Added argument testing around this.
2022-01-27 11:50:10 -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
852ad6fb38
Fix error WRT deleting file in default overlay
2021-10-23 19:38:34 -07:00
Gregory M. Kurtzer
604dd2026f
Merge pull request #149 from mslacken/bash-dynamic-nouns
...
Bash-completion dynamic nouns
2021-09-30 23:56:22 -07:00
Gregory Kurtzer
a8f2c58dcc
Fix lint error
2021-09-29 22:48:15 -07:00
Gregory Kurtzer
499582e211
Don't rebuild overlays on overlay commands automatically
2021-09-29 22:06:46 -07:00
Christian Goll
c0863e6a9f
nouns for 'wwwctl overlay'
2021-09-28 11:30:15 +02:00
Gregory Kurtzer
71b9ea714f
Fix for overlay builds
2021-09-17 21:48:39 -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
473ecd7e96
Allow chmod on both file and directory
2021-09-13 22:30:49 -07:00
Gregory Kurtzer
5d425a897f
Check length of args properly before using array slice.
2021-09-13 22:29:41 -07:00
Gregory Kurtzer
204b88742a
Make sure list has a minimum args of 1.
2021-09-13 22:26:49 -07:00
Gregory Kurtzer
3137f477bf
UI updates to include "overlay kind"
2021-09-13 13:28:44 -07:00
Gregory Kurtzer
f9b9c3a8c1
Linting fixes
2021-09-08 20:37:58 -07:00
Gregory M. Kurtzer
7bfe61d629
Merge pull request #114 from gmkurtzer/overlay_chown
...
Added overlay chown subcommand
2021-09-08 16:11:53 -07:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Gregory Kurtzer
349981f5bb
Added wwctl overlay chown ... command group
2021-09-06 17:38:04 -07:00
Gregory Kurtzer
90c997a4a1
Cleaned up arguments for chmod
2021-09-06 17:37:13 -07:00
Michael L. Young
e171eae858
Clean up typos from copy and paste
2021-08-25 07:59:35 -04:00
Gregory Kurtzer
a82e1b0ea5
Fixed formatting across entire project
2021-08-21 08:04:47 -07: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
e4ec4b0ffd
Removed minimum args requirement so we can do `--all.
2021-02-04 18:06:15 -08:00