aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/maas.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py
index ea038e86..342cfe77 100644
--- a/sos/plugins/maas.py
+++ b/sos/plugins/maas.py
@@ -66,4 +66,9 @@ class Maas(Plugin, UbuntuPlugin):
self._log_error(
"Cannot login into MAAS remote API with provided creds.")
+ def postproc(self):
+ self.do_file_sub("/etc/maas/regiond.conf",
+ r"(database_pass\s*:\s*)(.*)",
+ r"\1********")
+
# vim: set et ts=4 sw=4 :