feat(aa): update templates to last struct changes.

This commit is contained in:
Alexandre Pujol 2024-06-29 22:33:45 +01:00
parent 4e1b972ee5
commit 8377dde5d2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 51 additions and 16 deletions

View file

@ -8,16 +8,20 @@
{{- with .FsType -}}
{{ " fstype=" }}{{ . }}
{{- end -}}
{{- .Padding 2 -}}
{{- with .Options -}}
{{ " options=" }}{{ cjoin . }}
{{- end -}}
{{- .Padding 3 -}}
{{- with .Source -}}
{{ " " }}{{ . }}
{{- end -}}
{{- .Padding 4 -}}
{{- with .MountPoint -}}
{{ " -> " }}{{ . }}
{{- end -}}
{{- "," -}}
{{- .Padding 5 -}}
{{- template "comment" . -}}
{{- end -}}
@ -27,13 +31,16 @@
{{- with .FsType -}}
{{ " fstype=" }}{{ . }}
{{- end -}}
{{- .Padding 2 -}}
{{- with .Options -}}
{{ " options=" }}{{ cjoin . }}
{{- end -}}
{{- .Padding 3 -}}
{{- with .MountPoint -}}
{{ " " }}{{ . }}
{{- end -}}
{{- "," -}}
{{- .Padding 4 -}}
{{- template "comment" . -}}
{{- end -}}
@ -43,12 +50,15 @@
{{- with .FsType -}}
{{ " fstype=" }}{{ . }}
{{- end -}}
{{- .Padding 2 -}}
{{- with .Options -}}
{{ " options=" }}{{ cjoin . }}
{{- end -}}
{{- .Padding 3 -}}
{{- with .MountPoint -}}
{{ " " }}{{ . }}
{{- end -}}
{{- "," -}}
{{- .Padding 4 -}}
{{- template "comment" . -}}
{{- end -}}