Merge pull request #418 from mslacken/overlay-opts

add split for strings in overlays
This commit is contained in:
Christian Goll
2022-05-05 16:18:48 +02:00
committed by GitHub

View File

@@ -360,6 +360,9 @@ func BuildOverlayIndir(nodeInfo node.NodeInfo, overlayNames []string, outputDir
backupFile = false
return ""
},
"split": func(s string, d string) []string {
return strings.Split(s, d)
},
// }).ParseGlob(path.Join(OverlayDir, destFile+".ww*"))
}).ParseGlob(location)
if err != nil {