Update network interface bonding configuration and documentation
- Closes: #1482 - Closes: #1280 This also corrects poor handling of whitespace around the "file" function throughout the templates, given experiences with the network templates while implementing the bond behavior. Since the file function actually does produce output (that is parsed by Warewulf itself) it should not collaps prefix whitespace. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -312,7 +312,7 @@ more than once in a template to write content to multiple files.
|
||||
|
||||
{{- range $devname, $netdev := .NetDevs }}
|
||||
{{- $filename := print "ifcfg-" $devname ".conf" }}
|
||||
{{- file $filename }}
|
||||
{{ file $filename }}
|
||||
{{/* content here */}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user