allow multiple generic and wwinit overlays

This commit is contained in:
Christian Goll
2022-03-10 11:56:51 +01:00
13 changed files with 360 additions and 288 deletions

View File

@@ -12,7 +12,7 @@ import (
func CobraRunE(cmd *cobra.Command, args []string) error {
if BuildHost || (!BuildHost && !BuildNodes) {
if BuildHost || (!BuildHost && !BuildNodes && len(args) == 0) {
err := overlay.BuildHostOverlay()
if err != nil {
wwlog.Printf(wwlog.WARN, "host overlay could not be built: %s\n", err)