Commit Graph

339 Commits

Author SHA1 Message Date
Christian Goll
c0863e6a9f nouns for 'wwwctl overlay' 2021-09-28 11:30:15 +02:00
Christian Goll
bd7f502b0e dynamic nouns for 'wwctl node' 2021-09-28 11:22:16 +02:00
Christian Goll
b3743657b2 dynamic nouns for 'wwwctl kernel' 2021-09-28 10:01:54 +02:00
Christian Goll
8010cd2435 dynamic nouns for 'wwwctl container' 2021-09-24 14:36:23 +02:00
Gregory M. Kurtzer
91437bab5e Merge pull request #138 from gmkurtzer/overlay_fixes134
Overlay fixes
2021-09-22 23:14:38 -07:00
Gregory M. Kurtzer
7ddd626771 Merge pull request #137 from gmkurtzer/arm-kernel
Arm kernel support
2021-09-22 23:13:55 -07:00
Gregory M. Kurtzer
77bee733b3 Revert "allow compressed kernels with gz suffix" 2021-09-22 23:11:06 -07:00
Gregory M. Kurtzer
e82210c617 Merge pull request #120 from mslacken/kernel-container
allow compressed kernels with gz suffix
2021-09-22 23:10:08 -07:00
Gregory M. Kurtzer
3c9a257736 Merge pull request #136 from paulscherrerinstitute/daemon-port
Fixes #135
2021-09-22 23:07:44 -07:00
Christian Goll
09976889cc using upercase 'c' for container as in set 2021-09-22 15:05:50 +02:00
Michael L. Young
0020d529b9 Fix panic when failing to include the command to be run by the
'container exec' command.

Update documentation for the 'container exec' command.
2021-09-20 16:57:01 -04:00
Niko Kivel
4040f5145b errors.Wrap implemented, removed redundant default port check 2021-09-20 08:58:06 +02:00
Gregory Kurtzer
71b9ea714f Fix for overlay builds 2021-09-17 21:48:39 -07:00
Gregory Kurtzer
8ddebe8d77 Attempt to implement #120 2021-09-17 21:32:03 -07:00
Gregory Kurtzer
e5e6dee51a minor error message fix 2021-09-17 21:31:33 -07:00
Niko Kivel
b6b053665e Fixes #135 2021-09-17 14:27:55 +02:00
Christian Goll
ea577dda31 Added better error handling
Co-authored-by: WestleyK <westleyk@nym.hush.com>
2021-09-17 11:50:47 +02:00
Christian Goll
5772c44a0c Added better error handling
Co-authored-by: WestleyK <westleyk@nym.hush.com>
2021-09-17 11:47:43 +02: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
9581281cb4 Fixed redundant usage errors 2021-09-13 22:36:45 -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
5bff8be72e Clustername bug not showing up in profiles.
Not sure how this bug has existed for so long without being noticed! CRAZY!
2021-09-12 14:42:08 -07:00
Gregory Kurtzer
20031c2cfb More nomenclature cleanups 2021-09-12 14:25:43 -07:00
Gregory Kurtzer
60155cf127 these validity checks were causing problems with undefining configurations.
Removing these for now, as we will trust the user with doing the right thing.
2021-09-12 14:15:54 -07:00
Gregory Kurtzer
859bbcc316 Be more consistent with UI nomenclature with kernel and container 2021-09-12 13:35:49 -07:00
Gregory Kurtzer
e679fa24fa Cleanup container list command 2021-09-11 21:23:30 -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
09652cd56d Various more updates around Warewulf service and erorr cleanup 2021-09-10 18:25:58 -07:00
Gregory Kurtzer
2cabe4b806 Missed a false on lint fixes (ref: #123) 2021-09-10 10:51:37 -07:00
Christian Goll
16387258cd icehck return of os.MkDir what fixes linting 2021-09-10 08:52:45 +02:00
Gregory Kurtzer
e3eb57efcd Adding timestamps to log output (re: #121) 2021-09-09 21:16:07 -07:00
Christian Goll
f89293a1d6 allow compressed kernels with gz suffix
handy for aarch64
2021-09-09 10:43:39 +02:00
Gregory Kurtzer
f9b9c3a8c1 Linting fixes 2021-09-08 20:37:58 -07:00
Gregory M. Kurtzer
4b5e3fd6eb Merge pull request #117 from WestleyK/remove_commented_code
Remove commented test code
2021-09-08 16:12:09 -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
Gregory M. Kurtzer
5fa6105630 Merge pull request #116 from mslacken/kernel-container
Added container option for kernel import
2021-09-08 16:10:14 -07:00
WestleyR
cab2d4a316 Remove commented test code
Seems to be extra test code from
09a83ff904.
2021-09-08 14:12:20 -07:00
Gregory Kurtzer
84c0c72219 MS_REC added to MS_PRIVATE mount on root 2021-09-08 11:52:22 -07:00
Gregory Kurtzer
09a83ff904 Container exec fixups 2021-09-08 11:40:14 -07:00
Gregory Kurtzer
a2426d1fd3 if we return from Cobra command with error, don't show help. 2021-09-08 11:39:02 -07:00
Christian Goll
3093ef526a Added container option for kernel import 2021-09-08 17:50:44 +02:00
WestleyR
fdf6fc88fa Use Id.Get(), remove unused function 2021-09-07 21:28:21 -07:00
WestleyR
85f5f335c5 lint: ingnore the staticfile dir 2021-09-07 21:24:10 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory M. Kurtzer
31e9929984 Merge pull request #113 from gmkurtzer/errors
Update Warewulf to use the standard upstream errors package
2021-09-07 20:26:34 -07:00
Gregory Kurtzer
349981f5bb Added wwctl overlay chown ... command group 2021-09-06 17:38:04 -07:00