use wwctl to re-build provision overlays, update to pass overlaynames
This commit is contained in:
@@ -654,3 +654,15 @@ func BuildFsImage(
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
Runs wwctl command
|
||||
*/
|
||||
func RunWWCTL(args ...string) (out string, err error) {
|
||||
|
||||
proc := exec.Command("wwctl", args...)
|
||||
|
||||
out, err := proc.CombinedOutput()
|
||||
|
||||
return out, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user