diff --git a/pkg/aa/templates/profile.j2 b/pkg/aa/templates/profile.j2 index ffc4b4ac..00c936b2 100644 --- a/pkg/aa/templates/profile.j2 +++ b/pkg/aa/templates/profile.j2 @@ -238,7 +238,9 @@ {{- if eq .Access "bind" -}} {{ " bind bus=" }}{{ .Bus }}{{ " name=" }}{{ .Name }} {{- else -}} - {{ " " }}{{ .Access }} + {{- with .Access -}} + {{ " " }}{{ . }} + {{- end -}} {{- with .Bus -}} {{ " bus=" }}{{ . }} {{- end -}}