aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-11-26 17:33:51 +0000
committerBryn M. Reeves <bmr@redhat.com>2013-11-26 17:33:51 +0000
commit84d553924175d3bd561140a8cc3e6685f6d05e73 (patch)
tree576874291201e884866d8c18a3f0ce035b0383a8
parent34e0eafc6ad0b09b7bc9db4f3272547020eb03cc (diff)
downloadsos-84d553924175d3bd561140a8cc3e6685f6d05e73.tar.gz
Do not collect anaconda-ks.cfg in general plug-in
The anaconda kickstart file is Red Hat specific and should not be collected in the general plugin. It may also contain plaintext or encrypted passwords - these are handled properly in the anaconda plugin itself but are missing from the copy in general. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/general.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index d7059e66..a6964c4a 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -33,8 +33,8 @@ class General(Plugin):
"/etc/hostid",
"/var/lib/dbus/machine-id",
"/etc/exports",
- "/etc/localtime",
- "/root/anaconda-ks.cfg"])
+ "/etc/localtime"
+ ])
self.add_cmd_output("hostname", root_symlink="hostname")
self.add_cmd_output("date", root_symlink="date")