aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2013-11-05 01:05:43 -0500
committerAdam Stokes <adam.stokes@ubuntu.com>2013-11-05 01:05:43 -0500
commit3eecbc5b6a4fda178fabe28b2e62752f54bbeea5 (patch)
tree61564b91039ac70451acf930de99cdada72033de
parent44e626c47c60278b207c64aba333d0aaa71db3a8 (diff)
downloadsos-3eecbc5b6a4fda178fabe28b2e62752f54bbeea5.tar.gz
maas: Dont capture everything /var/lib/maas
ephermeral images and other pickled objects are stored here which can increase the sosreport archive to well over 2G. so only capture the readable files which is only the dhcp leases and dhcp interface file. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/maas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py
index 018ef75d..2fd6be35 100644
--- a/sos/plugins/maas.py
+++ b/sos/plugins/maas.py
@@ -25,7 +25,7 @@ class Maas(Plugin, UbuntuPlugin):
def setup(self):
self.add_copy_specs(["/etc/squid-deb-proxy",
"/etc/maas",
- "/var/lib/maas",
+ "/var/lib/maas/dhcp*",
"/var/log/maas*"])
self.add_cmd_output("maas dumpdata")