From 3dfa89ca8043d9097df270e895b8ff0ad9e5a725 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 7 Dec 2012 21:26:06 +0000 Subject: Obscure password in /etc/keystone/keystone.conf --- sos/plugins/openstack.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sos/plugins/openstack.py b/sos/plugins/openstack.py index 485187d5..edcfa3fe 100644 --- a/sos/plugins/openstack.py +++ b/sos/plugins/openstack.py @@ -185,3 +185,8 @@ class RedHatOpenStack(openstack, RedHatPlugin): # Quantum self.addCopySpecs(["/etc/quantum/", "/var/log/quantum/"]) + + def postproc(self): + self.doFileSub('/etc/keystone/keystone.conf', + r"(admin_password\s*=\s*)(.*)", + r"\1******") -- cgit