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:
committed by
Jonathon Anderson
parent
92b651d70a
commit
e90616cafb
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user