aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-11 22:12:56 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-11 22:12:56 +0000
commit2b1b476ee10ecca99364520c2140ea5aa39f5382 (patch)
tree78db54b62bc0b361847f4d061524c119b814f9f7
parent575464ebe2eeaa88dadf6400a042fb888b0e5efa (diff)
downloadsos-2b1b476ee10ecca99364520c2140ea5aa39f5382.tar.gz
Use paths list in anaconda plugin
The previous commit introduced a paths list for the module to collect but did not use it: fix the addCopySpecs call.
-rw-r--r--sos/plugins/anaconda.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py
index 8f44a2ae..06a5b369 100644
--- a/sos/plugins/anaconda.py
+++ b/sos/plugins/anaconda.py
@@ -36,9 +36,7 @@ class anaconda(Plugin, RedHatPlugin):
"/root/install.log",
"/root/install.log.syslog"]
- self.addCopySpecs([
- "/var/log/anaconda",
- "/root/anaconda-ks.cfg"])
+ self.addCopySpecs(paths)
def postproc(self):
self.doFileSub("/root/anaconda-ks.cfg",