Pino Toscano
2014-Feb-13 10:00 UTC
[Libguestfs] [PATCH] sysprep: remove RH subscription manager log files
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) -- 1.8.3.1
Richard W.M. Jones
2014-Feb-13 13:35 UTC
Re: [Libguestfs] [PATCH] sysprep: remove RH subscription manager log files
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#)