calling the overlay build functions direclty

The warewulfd process called `wwctl build -O [system|runtime] node`
if autobuild was set. This created [system|runtime].img which isn't
supported with the build model. Calling now BuildOverlay directly

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2023-08-16 16:49:10 +02:00
committed by Jonathon Anderson
parent 92b651d70a
commit e90616cafb
2 changed files with 15 additions and 32 deletions

View File

@@ -19,26 +19,6 @@ import (
"github.com/pkg/errors"
)
/*
func BuildSystemOverlay(nodeList []node.NodeInfo) error {
return nil
}
func BuildRuntimeOverlay(nodeList []node.NodeInfo) error {
return nil
}
func FindSystemOverlays() ([]string, error) {
return findAllOverlays("system")
}
func FindRuntimeOverlays() ([]string, error) {
return findAllOverlays("runtime")
}
*/
/*
Build all overlays (runtime and generic) for a node
*/