diff options
-rw-r--r-- | sos/plugins/grub.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/grub.py b/sos/plugins/grub.py index 39110419..33b9f7a8 100644 --- a/sos/plugins/grub.py +++ b/sos/plugins/grub.py @@ -30,4 +30,11 @@ class Grub(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/grub.d" ]) + def postproc(self): + self.do_path_regex_sub( + r".*\/grub.conf", + r"(password)\s(--md5)\s(.*)", + r"\1 \2 ********" + ) + # vim: et ts=4 sw=4 |