aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/report/plugins/networking.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
index 74626af4..79b39845 100644
--- a/sos/report/plugins/networking.py
+++ b/sos/report/plugins/networking.py
@@ -299,5 +299,13 @@ class UbuntuNetworking(Networking, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("/usr/sbin/traceroute -n %s" % self.trace_host,
priority=100)
+ def postproc(self):
+
+ self.do_path_regex_sub(
+ "/etc/netplan",
+ r"(\s+password:).*",
+ r"\1 ******"
+ )
+
# vim: set et ts=4 sw=4 :