aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/anaconda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py
index 08d300b2..aea3300e 100644
--- a/sos/plugins/anaconda.py
+++ b/sos/plugins/anaconda.py
@@ -54,7 +54,7 @@ class Anaconda(Plugin, RedHatPlugin):
)
self.do_file_sub(
"/root/anaconda-ks.cfg",
- r"(user.*--password=*)(\S*)",
+ r"(user.*--password=*\s*)\s*(\S*)",
r"\1********"
)