added wwctl clean to remove cache/dead overlays
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
511938ac5c
commit
ff84974506
13
internal/app/wwctl/clean/main.go
Normal file
13
internal/app/wwctl/clean/main.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package clean
|
||||
|
||||
import (
|
||||
"github.com/warewulf/warewulf/internal/pkg/api/clean"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func CobraRunE(vars *variables) func(cmd *cobra.Command, args []string) (err error) {
|
||||
return func(cmd *cobra.Command, args []string) (err error) {
|
||||
return clean.Clean()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user