[Libguestfs] [PATCH 1/8] sysprep: remove systemd journals

Pino Toscano ptoscano at redhat.com
Wed Apr 9 11:58:29 UTC 2014


---
 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 cf525c2..bb35daf 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -101,6 +101,9 @@ let globs = List.sort compare [
 
   (* Red Hat subscription manager log files *)
   "/var/log/rhsm/*";
+
+  (* journals of systemd *)
+  "/var/log/journal/*";
 ]
 let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
 
-- 
1.9.0




More information about the Libguestfs mailing list