[Libguestfs] [PATCH] sysprep: remove RH subscription manager log files

Richard W.M. Jones rjones at redhat.com
Thu Feb 13 13:35:12 UTC 2014


On Thu, Feb 13, 2014 at 11:00:25AM +0100, Pino Toscano wrote:
> Part of RHBZ#1063374.
> ---
>  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 f154b4d..4c3eb8c 100644
> --- a/sysprep/sysprep_operation_logfiles.ml
> +++ b/sysprep/sysprep_operation_logfiles.ml
> @@ -98,6 +98,9 @@ let globs = List.sort compare [
>    "/etc/Pegasus/*.csr";
>    "/etc/Pegasus/*.pem";
>    "/etc/Pegasus/*.srl";
> +
> +  (* Red Hat subscription manager log files *)
> +  "/var/log/rhsm/*";
>  ]
>  let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)




More information about the Libguestfs mailing list