Provide sprig functions in overlay templates
This commit is contained in:
committed by
Christian Goll
parent
6a8f0022db
commit
cbf9178f10
@@ -14,8 +14,8 @@ interface-name={{ $netdev.Device }}
|
||||
{{ if $netdev.Type -}}
|
||||
{{ if eq $netdev.Type "bond-slave" -}}
|
||||
slave-type=bond
|
||||
{{- $conn := split $connection_id "_" }}
|
||||
{{- $master := index $conn 0 }}
|
||||
{{- $conn := split "_" $connection_id }}
|
||||
{{- $master := $conn._0 }}
|
||||
master={{ $master }}
|
||||
type=ethernet
|
||||
{{ else }}
|
||||
|
||||
Reference in New Issue
Block a user