feat(aa-log): add support change_profile & pivot_rule
This commit is contained in:
parent
52278490ab
commit
d4bc07895a
5 changed files with 105 additions and 7 deletions
|
|
@ -129,6 +129,38 @@
|
|||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if eq $type "PivotRoot" -}}
|
||||
{{- template "qualifier" . -}}
|
||||
{{- "pivot_root" -}}
|
||||
{{- with .OldRoot -}}
|
||||
{{ " oldroot=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- with .NewRoot -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- with .TargetProfile -}}
|
||||
{{ " -> " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if eq $type "ChangeProfile" -}}
|
||||
{{- template "qualifier" . -}}
|
||||
{{- "change_profile" -}}
|
||||
{{- with .ExecMode -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- with .Exec -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- with .ProfileName -}}
|
||||
{{ " -> " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if eq $type "Unix" -}}
|
||||
{{- template "qualifier" . -}}
|
||||
{{- "unix" -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue