[Libguestfs] [PATCH] sysprep: remove more anaconda and tuned logs (RHBZ#1039540).

Richard W.M. Jones rjones at redhat.com
Mon Dec 9 15:23:32 UTC 2013


On Mon, Dec 09, 2013 at 04:19:10PM +0100, Pino Toscano wrote:
> ---
>  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 8994af9..3055ca4 100644
> --- a/sysprep/sysprep_operation_logfiles.ml
> +++ b/sysprep/sysprep_operation_logfiles.ml
> @@ -41,6 +41,7 @@ let globs = List.sort compare [
>    "/var/log/apache2/*_log";
>    "/var/log/apache2/*_log-*";
>    "/var/log/ntp";
> +  "/var/log/tuned/tuned.log";
>  
>    (* logfiles configured by /etc/logrotate.d/* *)
>    "/var/log/BackupPC/LOG";
> @@ -66,6 +67,8 @@ let globs = List.sort compare [
>    "/root/install.log";
>    "/root/install.log.syslog";
>    "/root/anaconda-ks.cfg";
> +  "/root/anaconda-post.log";
> +  "/var/log/anaconda.syslog";
>  
>    (* GDM and session preferences. *)
>    "/var/cache/gdm/*";
> -- 
> 1.8.3.1

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list