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
Gregory Kurtzer
e3eb57efcd
Adding timestamps to log output (re: #121 )
2021-09-09 21:16:07 -07: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
Gregory Kurtzer
16843d8b4e
Fixed issue where util.IsFile() was returning true for directories
2021-09-06 17:37:50 -07:00
Gregory Kurtzer
90c997a4a1
Cleaned up arguments for chmod
2021-09-06 17:37:13 -07:00
Gregory Kurtzer
d8ba3b26c2
Changing verbose message to debug + nodename
2021-09-06 15:13:41 -07:00
Gregory Kurtzer
c60be743ba
Update sources to use upstream errors package
2021-09-06 14:50:27 -07:00
Gregory Kurtzer
6ce8eedc75
Fixed error on path which would break the file walk
2021-09-06 11:02:22 -07:00
Gregory Kurtzer
5c4e1e2ecd
Fixed logging and cleaned up util package
2021-09-06 11:01:59 -07:00
Gregory Kurtzer
4c8edc16fe
Changed API name to valid path
2021-09-02 15:34:19 -07:00
Gregory Kurtzer
ed64386b8b
remove debug print
2021-09-01 21:20:50 -07:00
Gregory Kurtzer
3665e06cb1
Add ability to escape a split path as well
2021-09-01 21:20:36 -07:00
Gregory Kurtzer
caf9f4b80f
Have more intelligence on splitting bind paths
2021-09-01 21:13:46 -07:00
Gregory Kurtzer
50e6f0daf4
Format fix.
2021-09-01 19:28:12 -07:00
Gregory Kurtzer
d888483476
Merge branch 'main' of github.com:hpcng/warewulf
2021-09-01 19:27:06 -07:00
Gregory Kurtzer
198791fb10
add default and sane path to container exec
2021-09-01 19:26:38 -07:00
Gregory Kurtzer
fc7182d7bd
Don't bind resolv.conf, copy on import
2021-09-01 19:23:13 -07:00
Christian Goll
b7e2dbab64
added function CopyUIDGID for file file ownerships
...
file ownerships are preserved now in overlays
2021-09-01 11:21:11 +02:00
Gregory M. Kurtzer
76d7b14fd6
Merge pull request #105 from elguero/addIpmiCommands
...
Add IPMI Power Commands, Soft And Reset
2021-08-29 20:35:58 -07:00
Michael L. Young
a9fcf5e749
Add IPMI Power Commands, Soft And Reset
2021-08-25 08:38:16 -04:00
Michael L. Young
e171eae858
Clean up typos from copy and paste
2021-08-25 07:59:35 -04:00
Michael L. Young
13ad67e56e
Add IPMI Port Configuration
...
This commit adds the ability to configure the default IPMI port for a
profile or per node. If the port is not set, we default to 623.
Updated some areas to default to 'lan' for IPMI interface if it has not
been set.
2021-08-24 19:11:39 -04:00
Michael L. Young
e74ff331ab
Show IPMI Interface When Listing All Profiles
...
We added the ability to configure an IPMI interface. We missed
displaying the configuration when listing all profiles.
2021-08-24 09:07:08 -04:00
Gregory Kurtzer
3a090a7133
Fixed missing package after move of ready
2021-08-22 19:17:41 -07:00
Gregory Kurtzer
371767daed
Merge branch 'main' of github.com:hpcng/warewulf into cleanups
2021-08-22 19:10:09 -07:00
Gregory Kurtzer
64fa482c64
Moved ready command to node ready
2021-08-22 08:47:51 -07:00
Gregory Kurtzer
7bbe942a32
Fixed bug found with regards to boolean Alt/Profile values
2021-08-21 08:50:37 -07:00
Gregory Kurtzer
3136398e94
Discoverable is only for node configs (not profiles)
2021-08-21 08:50:14 -07:00
Gregory Kurtzer
a82e1b0ea5
Fixed formatting across entire project
2021-08-21 08:04:47 -07:00
Gregory Kurtzer
4d37c87c7b
Add a note on help output of how to unset configs
2021-08-20 19:44:44 -07:00
Gregory Kurtzer
73ed7d1891
Another method to "unset" a configuration
2021-08-20 19:40:24 -07:00
Gregory Kurtzer
c88e062a62
Match kernel list output header for node count
2021-08-20 19:39:02 -07:00