[Libguestfs] [PATCH 2/5] sysprep: remove log file of sysstat

Wanlong Gao gaowanlong at cn.fujitsu.com
Thu Sep 5 06:57:31 UTC 2013


Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
 sysprep/sysprep_operation_logfiles.ml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index cdfe8fc..b834d42 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -79,6 +79,9 @@ let globs = List.sort compare [
 
   (* man pages cache *)
   "/var/cache/man/*";
+
+  (* log file of sysstat *)
+  "/var/log/sa/*";
 ]
 let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
 
-- 
1.8.4.27.g0a41de8




More information about the Libguestfs mailing list