A script to help format profiles properly #182
Replies: 6 comments 2 replies
-
Nice script. I have planned to integrate this substitution into |
Beta Was this translation helpful? Give feedback.
-
Wow - very cool! Thanks a lot! Very helpful! However, I noticed one error:
aa-log -r translated this to:
which caused an error:
The correct rule
has been added to the profile in the meantime, though. EDIT: Another small issue:
Shouldn't this be |
Beta Was this translation helpful? Give feedback.
-
Yes, this is still an early wip version. For now there is no guarantee the rules generated are valid (still working on the test). This option was original an internal tool to help me creating the profiles, to me it is easy to correct this small issue by hand. |
Beta Was this translation helpful? Give feedback.
-
Is this line 138 in template.j2 ? |
Beta Was this translation helpful? Give feedback.
-
Yes, I recently fix this (among other thing). See 5516eef |
Beta Was this translation helpful? Give feedback.
-
Hm, I'm still getting output from aa-log -r like this:
Shouldn't line 138 in template.j2 rather be:
i.e., with a space in front of |
Beta Was this translation helpful? Give feedback.
-
This is just an update of #124. The script (which I called
aaformat
) supports the most important variables mentioned here. This version is more easily readable and slightly expanded. I'm presenting it here again as it might be helpful for supporters of this project and in the hope to receive some ideas how to improve it.Beta Was this translation helpful? Give feedback.
All reactions