[Libguestfs] [PATCH] sysprep: remove some Pegasus files, like certs (RHBZ#1041552).

Pino Toscano ptoscano at redhat.com
Fri Dec 13 10:06:10 UTC 2013


---
 sysprep/sysprep_operation_logfiles.ml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index 3055ca4..2558af1 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -91,6 +91,13 @@ let globs = List.sort compare [
 
   (* log file of ntp *)
   "/var/log/ntpstats/*";
+
+  (* Pegasus certificates and other files *)
+  "/etc/Pegasus/*.cnf";
+  "/etc/Pegasus/*.crt";
+  "/etc/Pegasus/*.csr";
+  "/etc/Pegasus/*.pem";
+  "/etc/Pegasus/*.srl";
 ]
 let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
 
-- 
1.8.3.1




More information about the Libguestfs mailing list