From 3c880cb601dc25dfd9fe320ec478499df2881a2c Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Mon, 27 Mar 2023 23:24:44 +0200 Subject: [PATCH] provisioner: add replaceAll template function Signed-off-by: Alexander Yastrebov --- provisioner/template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/provisioner/template.go b/provisioner/template.go index d27b2399..3dde7858 100644 --- a/provisioner/template.go +++ b/provisioner/template.go @@ -112,6 +112,7 @@ func renderTemplate(context *templateContext, file string) (string, error) { "azID": azID, "azCount": azCount, "split": split, + "replaceAll": strings.ReplaceAll, "mountUnitName": mountUnitName, "accountID": accountID, "portRanges": portRanges,