diff --git a/pkg/asset/ignition/bootstrap/common.go b/pkg/asset/ignition/bootstrap/common.go index 7c084480db4..0638d2b246d 100644 --- a/pkg/asset/ignition/bootstrap/common.go +++ b/pkg/asset/ignition/bootstrap/common.go @@ -423,6 +423,7 @@ func AddStorageFiles(config *igntypes.Config, base string, uri string, templateD } filename := path.Base(uri) + filename = strings.TrimSuffix(filename, ".template") parentDir := path.Base(path.Dir(uri)) var mode int