aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/anaconda.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py
index b37db44d..72b75775 100644
--- a/sos/plugins/anaconda.py
+++ b/sos/plugins/anaconda.py
@@ -28,3 +28,8 @@ class anaconda(Plugin, RedHatPlugin):
"/var/log/anaconda.log",
"/var/log/anaconda.syslog",
"/var/log/anaconda.xlog"])
+
+ def postproc(self):
+ self.doRegexSub("/root/anaconda-ks.cfg",
+ r"(\s*rootpw\s*).*",
+ r"\1******")